diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-01-14 06:12:06 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-20 16:35:18 +0200 |
commit | fdb608364e7ea5ab5195d2da7caca5f155a3026c (patch) | |
tree | 7a2f0bd671862f7f0bea08899ec82b31af762f4f /conf | |
parent | 83f6151a529e8d3561f2841b9e669b085cb38de4 (diff) | |
download | openembedded-fdb608364e7ea5ab5195d2da7caca5f155a3026c.tar.gz |
sane-toolchain-uclibc: use -pipe
Use -pipe for both BUILD_OPTIMIZATION and FULL_OPTIMIZATION
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/sane-toolchain-uclibc.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/conf/distro/include/sane-toolchain-uclibc.inc b/conf/distro/include/sane-toolchain-uclibc.inc index 059f83438e..b61ee36af6 100644 --- a/conf/distro/include/sane-toolchain-uclibc.inc +++ b/conf/distro/include/sane-toolchain-uclibc.inc @@ -23,10 +23,12 @@ PREFERRED_VERSION_uclibc-cross-intermediate ?= "${PREFERRED_UCLIBC_VERSION}" #mess with compiler flags to use -Os instead of -O2 #Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info -FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -pipe" +BUILD_OPTIMIZATION += "-pipe" + # -Os compiled root file system does not boot for powerpc, root cause it still at large # we use -O2 meanwhile -FULL_OPTIMIZATION_powerpc = "-O2" +FULL_OPTIMIZATION_powerpc = "-O2 -pipe" #Gcc will die with 'internal consistency error when using the above optimizations #with gcc-4.2.1-atmel.1.0.3 (and probably most other avr32 gcc ports). @@ -42,3 +44,4 @@ TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ CXXFLAGS += "-fvisibility-inlines-hidden" + |