[Android] [PATCH 4/6] contrib: Don't enable assembler under Android-x86

Edward Wang edward.c.wang at compdigitec.com
Sun Jul 15 22:28:54 CEST 2012


Headers normally present under normal Linux are missing in bionic.
---
 contrib/src/flac/rules.mak |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
index 287f805..5ffba4e 100644
--- a/contrib/src/flac/rules.mak
+++ b/contrib/src/flac/rules.mak
@@ -35,6 +35,12 @@ ifneq ($(findstring $(ARCH),i386 x86_64),)
 FLACCONF += --disable-asm-optimizations
 endif
 endif
+ifdef HAVE_ANDROID
+ifeq ($(ANDROID_ABI), x86)
+# cpu.c:130:29: error: sys/ucontext.h: No such file or directory
+FLACCONF += --disable-asm-optimizations
+endif
+endif
 
 DEPS_flac = ogg $(DEPS_ogg)
 
-- 
1.7.5.4



More information about the Android mailing list