OSDN Git Service

android: vulkan/util: fix generating vk_enum_to_str.*
[android-x86/external-mesa.git] / Android.common.mk
index e0d2df0..3c9bd8c 100644 (file)
@@ -31,6 +31,7 @@ LOCAL_C_INCLUDES += \
 
 MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
 LOCAL_CFLAGS += \
+       -O3 \
        -Wno-error \
        -Wno-unused-parameter \
        -Wno-pointer-arith \
@@ -39,7 +40,8 @@ LOCAL_CFLAGS += \
        -Wno-mismatched-tags \
        -DVERSION=\"$(MESA_VERSION)\" \
        -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
-       -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"
+       -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
+       -DHAVE_ANDROID_PLATFORM
 
 # XXX: The following __STDC_*_MACROS defines should not be needed.
 # It's likely due to a bug elsewhere, but let's temporarily add them