[oe-commits] Koen Kooi : angstrom glibc: -Os seems to trip up almost all non vanilla gcc toolchains (e.g. the harry potter ones from CSL), so take a small size penalty to save us some segfaults

GIT User account git at amethyst.openembedded.net
Thu Oct 16 11:41:06 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9d97ef8717b239076d9877325923c69830afc477
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9d97ef8717b239076d9877325923c69830afc477

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Oct 16 13:39:03 2008 +0200

angstrom glibc: -Os seems to trip up almost all non vanilla gcc toolchains (e.g. the harry potter ones from CSL), so take a small size penalty to save us some segfaults

---

 conf/distro/include/angstrom-glibc.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 2ba21b2..4ee402f 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -22,13 +22,13 @@ TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm'
 # perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616
 # [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
 
-FULL_OPTIMIZATION = "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -Os"
+FULL_OPTIMIZATION = "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2"
 
 FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
 FULL_OPTIMIZATION_pn-glibc = "-fexpensive-optimizations -fomit-frame-pointer -O2"
 FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
 
-BUILD_OPTIMIZATION = "-Os"
+BUILD_OPTIMIZATION = "-O2"
 BUILD_OPTIMIZATION_pn-perl = "-O1"
 BUILD_OPTIMIZATION_pn-glibc = "-O2"
 BUILD_OPTIMIZATION_sparc = "-O2"





More information about the Openembedded-commits mailing list