From: Bruce Beare Date: Fri, 9 Dec 2011 21:52:19 +0000 (-0800) Subject: x86: libc may use the gcc flags from TARGET_linux-x86.mk X-Git-Tag: android-x86-4.4-r1~824^2~37^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=af96d4dadc3f3d8466dbbeaf3a816e6871715fbc;p=android-x86%2Fbionic.git x86: libc may use the gcc flags from TARGET_linux-x86.mk Change-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35 Signed-off-by: Bruce Beare --- diff --git a/libc/Android.mk b/libc/Android.mk index 49c87314e..225d14fb0 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -510,11 +510,8 @@ ifeq ($(TARGET_ARCH),arm) endif else # !arm ifeq ($(TARGET_ARCH),x86) - libc_crt_target_cflags := -m32 - - # Enable recent IA friendly memory routines (such as for Atom) - # These will not work on the earlier x86 machines - libc_common_cflags += -mtune=i686 -DUSE_SSSE3 -DUSE_SSE2 + libc_crt_target_cflags := + # TARGET_GLOBAL_CFLAGS from build/core/combo/TARGET_linux-x86.mk sets all required flags. endif # x86 endif # !arm