Mesa (master): Android: copy -fno*math* options from the autotools build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Aug 8 12:49:37 UTC 2018
Module: Mesa
Branch: master
Commit: 32aa7ff647be3c45317e66ca611443d21df52f93
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32aa7ff647be3c45317e66ca611443d21df52f93
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Fri Nov 24 14:25:06 2017 +0000
Android: copy -fno*math* options from the autotools build
Add -fno-math-errno and -fno-trapping-math to the build.
Mesa does not depend on the functionality provided, thus this should
result in slightly faster code and smaller binaries.
Cc: Tapani Pälli <tapani.palli at intel.com>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Tapani Pälli <tapani.palli at intel.com>
---
Android.common.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Android.common.mk b/Android.common.mk
index 619b216b63..aa1b266a39 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -76,6 +76,8 @@ LOCAL_CFLAGS += \
-DMAJOR_IN_SYSMACROS \
-DVK_USE_PLATFORM_ANDROID_KHR \
-fvisibility=hidden \
+ -fno-math-errno \
+ -fno-trapping-math \
-Wno-sign-compare
LOCAL_CPPFLAGS += \
More information about the mesa-commit
mailing list