diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-02-07 14:32:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-02-07 16:41:33 +0100 |
commit | 11c021f517bf4a5a648d0d4769a817c23a7c3656 (patch) | |
tree | f662ae452ee7ec56ca87a6c7d1c17043ae2cc14c /toolchain/glibc/Makefile | |
parent | 38ae283cb4f6385dca56aa6c0baf5dbdd83cd1bc (diff) |
glibc: for i686 -Os is broken, too
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r-- | toolchain/glibc/Makefile | 4 |
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 |