angstrom.conf: use -Os by default, see the comments in the file for more info
authorKoen Kooi <koen@openembedded.org>
Tue, 28 Feb 2006 15:15:30 +0000 (15:15 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 28 Feb 2006 15:15:30 +0000 (15:15 +0000)
conf/distro/angstrom.conf

index 3ea5e45..6503e14 100644 (file)
@@ -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"