vc4: Enable Neon on arm android builds
authorRob Herring <robh@kernel.org>
Mon, 30 Jan 2017 22:54:53 +0000 (16:54 -0600)
committerEric Anholt <eric@anholt.net>
Tue, 31 Jan 2017 22:06:21 +0000 (14:06 -0800)
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/vc4/Android.mk

index de9d5e3f5b3c534d3ec3a39b4a4b35b701c7678e..fdc06744e5abda49e905474089dceb0f5fc349ec 100644 (file)
@@ -25,6 +25,8 @@ include $(LOCAL_PATH)/Makefile.sources
 
 include $(CLEAR_VARS)
 
+LOCAL_CFLAGS_arm := -DVC4_BUILD_NEON
+
 LOCAL_SRC_FILES := \
        $(C_SOURCES)