From 3ca765cffe28375f2d3fb368fcede63908d0fde4 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Thu, 19 Sep 2013 17:44:31 +0200
Subject: eglibc compiles fine with -Os, at least for
 x86_64,sparc64,mips,mipsel and arm, still breakage with x86

---
 toolchain/eglibc/Makefile | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'toolchain/eglibc/Makefile')

diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index 13a537c05..76b09237d 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -7,11 +7,6 @@ include Makefile.inc
 include Makefile.multilib
 include ${TOPDIR}/mk/buildhlp.mk
 
-# eglibc does not compile with Os
-TARGET_CFLAGS_LIBC:= $(subst Os,O2,$(TARGET_CFLAGS))
-ifneq ($(ADK_DEBUG),)
-TARGET_CFLAGS_LIBC+=		-O2
-endif
 # ssp partially supported
 TARGET_CFLAGS_LIBC:= 	$(filter-out -fstack-protector,$(TARGET_CFLAGS_LIBC))
 
-- 
cgit v1.2.3