From patchwork Thu Jan 13 22:12:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] sane-toolchain-uclibc: use -pipe Date: Thu, 13 Jan 2011 22:12:06 -0000 From: Bernhard Reutner-Fischer X-Patchwork-Id: 277 Message-Id: <1294956728-32390-2-git-send-email-rep.dot.nop@gmail.com> To: openembedded-devel@lists.openembedded.org Use -pipe for both BUILD_OPTIMIZATION and FULL_OPTIMIZATION Signed-off-by: Bernhard Reutner-Fischer --- 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).