android: mesa: fold the ARCH_X86_HAVE_SSE4_1 conditionals
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Apr 2015 14:53:11 +0000 (15:53 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Apr 2015 14:53:11 +0000 (15:53 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/Android.libmesa_dricore.mk

index 45a385c2540fbfe7731d8816886ae0ebff6e7f68..bd088ab0cc21c96904b78f0990e594e80ab951b3 100644 (file)
@@ -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