From 3653fb473a66258c74d3a550e66c8c1e8f95368c Mon Sep 17 00:00:00 2001 From: Fritz Koenig Date: Thu, 16 Feb 2012 12:38:17 -0800 Subject: [PATCH] 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 --- build/make/configure.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0