summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-04-22 15:53:11 +0100
committerEmil Velikov <[email protected]>2015-04-22 15:53:11 +0100
commit8098bf8e7a975a18b271b44e760ff86feddb0472 (patch)
tree5b54f803eb2239707302be3c47066f43c97e5bbf
parent669cfc267a1102ff903b3e562f9aa45a410e0312 (diff)
android: mesa: fold the ARCH_X86_HAVE_SSE4_1 conditionals
Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--src/mesa/Android.libmesa_dricore.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/Android.libmesa_dricore.mk b/src/mesa/Android.libmesa_dricore.mk
index 45a385c2540..bd088ab0cc2 100644
--- a/src/mesa/Android.libmesa_dricore.mk
+++ b/src/mesa/Android.libmesa_dricore.mk
@@ -51,11 +51,8 @@ ifeq ($(ARCH_X86_HAVE_SSE4_1),true)
LOCAL_SRC_FILES += \
main/streaming-load-memcpy.c \
mesa/main/sse_minmax.c
-LOCAL_CFLAGS := -msse4.1
-endif
-
-ifeq ($(ARCH_X86_HAVE_SSE4_1),true)
-LOCAL_CFLAGS += \
+LOCAL_CFLAGS := \
+ -msse4.1 \
-DUSE_SSE41
endif