aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Sarett <msarett@google.com>2015-12-03 09:39:33 -0500
committerMatt Sarett <msarett@google.com>2015-12-03 09:39:33 -0500
commit7c53faed896b1aba9780e71d67a13a2d3b4dcfc8 (patch)
tree79479a29fc59ec6123ffbaf8374338e1ca392f68
parente3492633b0cb740df85f604f32d263588bb1b7cd (diff)
downloadlibjpeg-turbo-7c53faed896b1aba9780e71d67a13a2d3b4dcfc8.tar.gz
Fix build breakages on ariel by always building with clang
Change-Id: I9422d03fbde8061619c52f4202fd0fa7dd12fe5a
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 883a2a75..117bccf4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -34,6 +34,9 @@ endif
# The clang assembler fails to recognize a directive in the ARM v8 NEON
# assembly. This is a temporary fix.
LOCAL_ASFLAGS_arm64 := -fno-integrated-as
+# The above flag is not recognized by gcc, so make sure we always build
+# with clang.
+LOCAL_CLANG := true
# ARM v8 64-bit NEON
LOCAL_SRC_FILES_arm64 += simd/jsimd_arm64_neon.S simd/jsimd_arm64.c