From 11c021f517bf4a5a648d0d4769a817c23a7c3656 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 7 Feb 2022 14:32:45 +0100 Subject: glibc: for i686 -Os is broken, too --- toolchain/glibc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchain/glibc/Makefile') 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 -- cgit v1.2.3