From: Koen Kooi Date: Tue, 28 Feb 2006 15:15:30 +0000 (+0000) Subject: angstrom.conf: use -Os by default, see the comments in the file for more info X-Git-Tag: Release-2010-05/1~9453^2~2304^2~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433b85a4d262d30969ec14cf14aee1323da9c0a5;p=openembedded.git angstrom.conf: use -Os by default, see the comments in the file for more info --- diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index 3ea5e4553d..6503e142da 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -21,6 +21,11 @@ include conf/distro/include/multimachine.conf #TARGET_OS = "none-linux-gnueabi" TARGET_OS = "linux" +#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" +BUILD_OPTIMIZATION = "-Os" + PARALLEL_INSTALL_MODULES = "1" BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version"