summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Jones <paul@pauljones.id.au>2010-06-14 22:36:04 +1000
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-15 10:50:15 +0200
commit36391de0dbf8ed623e9897941a286fa19cb17b05 (patch)
treeb07d7a1e81437d87a6b52e670fa114eddafdb6f8
parent5db7204c80454fe5211c1f7df5490c36b9470af3 (diff)
downloadbuildroot-novena-36391de0dbf8ed623e9897941a286fa19cb17b05.tar.gz
buildroot-novena-36391de0dbf8ed623e9897941a286fa19cb17b05.zip
Fix potentially conflicting build flags
Change the default target optimisation value so it does not conflict with gcc optimization level Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/Config.in.23
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Config.in.2 b/toolchain/Config.in.2
index 595ab8719..71bded2e0 100644
--- a/toolchain/Config.in.2
+++ b/toolchain/Config.in.2
@@ -159,9 +159,10 @@ config BR2_INSTALL_LIBSTDCPP
config BR2_TARGET_OPTIMIZATION
string "Target Optimizations"
- default "-Os -pipe"
+ default "-pipe"
help
Optimizations to use when building for the target host.
+ NOTE: gcc optimization level is defined in build options.
if BR2_TOOLCHAIN_BUILDROOT
source "toolchain/elf2flt/Config.in"