etnaviv: drm: s/table_lock/etna_table_lock/
[mesa.git] / Android.common.mk
index 619b216b63b2a880583f4465ebb635ba87b97c14..36d97c52dd1d77d21c5f0a4199f955bd82ba1585 100644 (file)
@@ -32,12 +32,12 @@ LOCAL_C_INCLUDES += \
 MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
 LOCAL_CFLAGS += \
        -Wno-error \
+       -Werror=incompatible-pointer-types \
        -Wno-unused-parameter \
        -Wno-pointer-arith \
        -Wno-missing-field-initializers \
        -Wno-initializer-overrides \
        -Wno-mismatched-tags \
-       -DVERSION=\"$(MESA_VERSION)\" \
        -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
        -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"
 
@@ -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 += \