summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
authorFritz Koenig <frkoenig@google.com>2012-02-16 12:38:17 -0800
committerFritz Koenig <frkoenig@google.com>2012-02-16 12:38:17 -0800
commit3653fb473a66258c74d3a550e66c8c1e8f95368c (patch)
treed01fa31ad90339519681ef5407f0ac99031584d5 /build/make/configure.sh
parent7989bb7fe74aa1a3e477b2228e32424376c2c5e9 (diff)
downloadlibvpx-3653fb473a66258c74d3a550e66c8c1e8f95368c.tar
libvpx-3653fb473a66258c74d3a550e66c8c1e8f95368c.tar.gz
libvpx-3653fb473a66258c74d3a550e66c8c1e8f95368c.tar.bz2
libvpx-3653fb473a66258c74d3a550e66c8c1e8f95368c.zip
Include path fix for building against Android NDK.
cpu-features.h is not in the common paths, add to the cflags for Android. Change-Id: Icbafc7600d72f6b59ffb030f6ab80ee6860332bb
Diffstat (limited to 'build/make/configure.sh')
-rwxr-xr-xbuild/make/configure.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 78a1ceeb2..571fd84e9 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -796,6 +796,8 @@ process_common_toolchain() {
add_cflags "--sysroot=${alt_libc}"
add_ldflags "--sysroot=${alt_libc}"
+ add_cflags "-I${SDK_PATH}/sources/android/cpufeatures/"
+
enable pic
soft_enable realtime_only
if [ ${tgt_isa} == "armv7" ]; then