diff options
Diffstat (limited to 'lib/mesa/Android.common.mk')
-rw-r--r-- | lib/mesa/Android.common.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/mesa/Android.common.mk b/lib/mesa/Android.common.mk index 7ef6a90a1..6bf64f55c 100644 --- a/lib/mesa/Android.common.mk +++ b/lib/mesa/Android.common.mk @@ -39,7 +39,7 @@ LOCAL_CFLAGS += \ -Wno-initializer-overrides \ -Wno-mismatched-tags \ -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \ - -DPACKAGE_BUGREPORT=\"https://gitlab.freedesktop.org/mesa/mesa/-/issues\" + -DPACKAGE_BUGREPORT=\"https://gitlab.freedesktop.org/mesa/mesa/issues\" # XXX: The following __STDC_*_MACROS defines should not be needed. # It's likely due to a bug elsewhere, but let's temporarily add them @@ -73,7 +73,6 @@ LOCAL_CFLAGS += \ -DHAVE_LINUX_FUTEX_H \ -DHAVE_ENDIAN_H \ -DHAVE_ZLIB \ - -DHAVE_COMPRESSION \ -DMAJOR_IN_SYSMACROS \ -DVK_USE_PLATFORM_ANDROID_KHR \ -fvisibility=hidden \ @@ -104,9 +103,12 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo true),true) LOCAL_CFLAGS += -DHAVE_SYS_SHM_H endif +ifeq ($(strip $(MESA_ENABLE_ASM)),true) ifeq ($(TARGET_ARCH),x86) LOCAL_CFLAGS += \ -DUSE_X86_ASM + +endif endif ifeq ($(ARCH_ARM_HAVE_NEON),true) LOCAL_CFLAGS_arm += -DUSE_ARM_ASM |