summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Jones <paul@pauljones.id.au>2010-06-14 12:36:04 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-06-15 08:50:15 (GMT)
commit36391de0dbf8ed623e9897941a286fa19cb17b05 (patch)
treeb07d7a1e81437d87a6b52e670fa114eddafdb6f8
parent5db7204c80454fe5211c1f7df5490c36b9470af3 (diff)
downloadbuildroot-36391de0dbf8ed623e9897941a286fa19cb17b05.tar.gz
buildroot-36391de0dbf8ed623e9897941a286fa19cb17b05.tar.bz2
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 595ab87..71bded2 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"