Include path fix for building against Android NDK.
authorFritz Koenig <frkoenig@google.com>
Thu, 16 Feb 2012 20:38:17 +0000 (12:38 -0800)
committerFritz Koenig <frkoenig@google.com>
Thu, 16 Feb 2012 20:38:17 +0000 (12:38 -0800)
cpu-features.h is not in the common paths, add
to the cflags for Android.

Change-Id: Icbafc7600d72f6b59ffb030f6ab80ee6860332bb

build/make/configure.sh

index 78a1cee..571fd84 100755 (executable)
@@ -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