aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2021-06-01 16:52:55 -0700
committerDan Albert <danalbert@google.com>2021-06-01 16:55:49 -0700
commit7de6bbd5bcd1bfc6065e317a0037af001c5e16c9 (patch)
tree821d3d11077b295421f5f6a255fbd72cca1ce3c2
parent7f20a9f452e66b684130fee762f1e39a5ce933c3 (diff)
downloadlibjpeg-turbo-7de6bbd5bcd1bfc6065e317a0037af001c5e16c9.tar.gz
Always use Neon.
This library cannot be built without Neon. The NDK sysroot build generates non-Neon artifacts but also needs to build this library to perform ABI checking. This is only the implementation and not a component distributed with the NDK, so it's not important that this be built non-Neon. Test: build/soong/scripts/build-ndk-prebuilts.sh Bug: http://b/156513478 Change-Id: If3ff6be7ad53cbdcc32ac8a0baa2f98f78c646ad
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 5e0d28f4..02e2d11a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -128,7 +128,7 @@ cc_defaults {
"simd/arm/jidctred-neon.c",
"simd/arm/jquanti-neon.c",
],
- cflags: ["-DNEON_INTRINSICS"],
+ cflags: ["-DNEON_INTRINSICS", "-mfpu=neon"],
local_include_dirs: ["simd/arm"],
},
arm64: {