Fix potentially conflicting build flags
authorPaul Jones <paul@pauljones.id.au>
Mon, 14 Jun 2010 12:36:04 +0000 (22:36 +1000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 15 Jun 2010 08:50:15 +0000 (10:50 +0200)
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>
toolchain/Config.in.2

index 595ab871957fd508debf8b8e8d51a27bca829888..71bded2e0d6d671f410ab5a0b7669508481620d4 100644 (file)
@@ -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"