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

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

Comments

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

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

Patch

diff --git a/conf/distro/include/sane-toolchain-uclinux-uclibc.inc b/conf/distro/include/sane-toolchain-uclinux-uclibc.inc
index fbb239a..a1e7df0 100644
--- a/conf/distro/include/sane-toolchain-uclinux-uclibc.inc
+++ b/conf/distro/include/sane-toolchain-uclinux-uclibc.inc
@@ -9,7 +9,7 @@  USE_NLS_gcc-cross = "no"
 
 #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 = "-Os"
 
 #Gcc will die with 'internal consistency error when using the above optimizations