am f3087c6e: am af96d4da: x86: libc may use the gcc flags from TARGET_linux-x86.mk

* commit 'f3087c6e86f54874538669d899d8a2ede59f7433':
  x86: libc may use the gcc flags from TARGET_linux-x86.mk
This commit is contained in:
Bruce Beare 2011-12-12 15:39:04 -08:00 committed by Android Git Automerger
commit e2bb45a7c0

View File

@ -512,11 +512,8 @@ ifeq ($(TARGET_ARCH),arm)
endif endif
else # !arm else # !arm
ifeq ($(TARGET_ARCH),x86) ifeq ($(TARGET_ARCH),x86)
libc_crt_target_cflags := -m32 libc_crt_target_cflags :=
# TARGET_GLOBAL_CFLAGS from build/core/combo/TARGET_linux-x86.mk sets all required flags.
# 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
endif # x86 endif # x86
endif # !arm endif # !arm