summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-02-07 14:32:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-02-07 16:41:33 +0100
commit11c021f517bf4a5a648d0d4769a817c23a7c3656 (patch)
treef662ae452ee7ec56ca87a6c7d1c17043ae2cc14c /toolchain/glibc/Makefile
parent38ae283cb4f6385dca56aa6c0baf5dbdd83cd1bc (diff)
glibc: for i686 -Os is broken, too
Diffstat (limited to 'toolchain/glibc/Makefile')
-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