From 433b85a4d262d30969ec14cf14aee1323da9c0a5 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 28 Feb 2006 15:15:30 +0000 Subject: [PATCH] angstrom.conf: use -Os by default, see the comments in the file for more info --- conf/distro/angstrom.conf | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.39.5