[oe] [PATCH 1/3] sane-toolchain-uclibc: use -pipe

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jan 13 22:12:06 UTC 2011


Use -pipe for both BUILD_OPTIMIZATION and FULL_OPTIMIZATION

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 conf/distro/include/sane-toolchain-uclibc.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/conf/distro/include/sane-toolchain-uclibc.inc b/conf/distro/include/sane-toolchain-uclibc.inc
index bfe0bc8..ed7f5f1 100644
--- a/conf/distro/include/sane-toolchain-uclibc.inc
+++ b/conf/distro/include/sane-toolchain-uclibc.inc
@@ -23,7 +23,8 @@ 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"
 
 #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).
-- 
1.7.2.3





More information about the Openembedded-devel mailing list