Module: Mesa
Branch: master
Commit: 32aa7ff647be3c45317e66ca611443d21df52f93
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=32aa7ff647be3c45317e66ca611443d21df52f93

Author: Emil Velikov <[email protected]>
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 <[email protected]>
Cc: Rob Herring <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Tapani Pälli <[email protected]>

---

 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 += \

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to