OSDN Git Service

x86: libc may use the gcc flags from TARGET_linux-x86.mk
authorBruce Beare <bruce.j.beare@intel.com>
Fri, 9 Dec 2011 21:52:19 +0000 (13:52 -0800)
committerBruce Beare <bruce.j.beare@intel.com>
Fri, 9 Dec 2011 21:54:20 +0000 (13:54 -0800)
Change-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
libc/Android.mk

index 49c8731..225d14f 100644 (file)
@@ -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