summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/glibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 684da9b78..7ed06ddfb 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -6,8 +6,8 @@ include ../rules.mk
include Makefile.inc
include ${ADK_TOPDIR}/mk/buildhlp.mk
-# glibc does not compile with Os and CPU specific FLAGS for m68k/x86_64
-ifeq ($(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_M68K),y)
+# glibc does not compile with Os and CPU specific FLAGS for m68k/x86_64/x86
+ifeq ($(ADK_TARGET_ARCH_X86)$(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_M68K),y)
TARGET_CFLAGS:= -O2
TARGET_CXXFLAGS:= -O2
endif