summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-04 19:04:36 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-04 19:04:36 +0000
commitbf307fa406ef710e80057e43db2319270011d9bd (patch)
treeac31d10a751940457c3237e4d4f02f87ad93ec74
parent1c9ad538cd90ab5f32b0132218da6d30e6023023 (diff)
angstrom-glibc.inc: fix glibc/gcc buglet where -Os goes awry with inlining and fastat64 becomes a missing symbol
-rw-r--r--conf/distro/include/angstrom-glibc.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index d14c6f1b19..f606395f09 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -14,10 +14,15 @@ TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm'
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
+FULL_OPTIMIZATION_pn-glibc-intermediate = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
+FULL_OPTIMIZATION_pn-glibc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
+
BUILD_OPTIMIZATION = "-Os"
BUILD_OPTIMIZATION_pn-perl = "-O1"
+BUILD_OPTIMIZATION_pn-glibc-intermediate = "-O2"
+BUILD_OPTIMIZATION_pn-glibc = "-O2"
BUILD_OPTIMIZATION_sparc = "-O2"
CXXFLAGS += "-fvisibility-inlines-hidden"