From: Emil Velikov Date: Fri, 24 Nov 2017 14:25:06 +0000 (+0000) Subject: Android: copy -fno*math* options from the autotools build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32aa7ff647be3c45317e66ca611443d21df52f93;p=mesa.git 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 Cc: Rob Herring Signed-off-by: Emil Velikov Acked-by: Tapani Pälli --- diff --git a/Android.common.mk b/Android.common.mk index 619b216b63b..aa1b266a393 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 += \