x86: libc may use the gcc flags from TARGET_linux-x86.mk
Change-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
This commit is contained in:
parent
7d03c9cbce
commit
af96d4dadc
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user