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

login
register
mail settings
Submitter Bernhard Reutner-Fischer
Date Jan. 13, 2011, 10:12 p.m.
Message ID <1294956728-32390-2-git-send-email-rep.dot.nop@gmail.com>
Download mbox | patch
Permalink /patch/277/
State Accepted
Headers show

Comments

Bernhard Reutner-Fischer - Jan. 13, 2011, 10:12 p.m.
Use -pipe for both BUILD_OPTIMIZATION and FULL_OPTIMIZATION

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

Patch

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).