angstrom: don't use -ggdb3 for -native and -cross
authorKoen Kooi <koen@openembedded.org>
Sat, 17 Jul 2010 18:48:27 +0000 (20:48 +0200)
committerKoen Kooi <koen@openembedded.org>
Sat, 17 Jul 2010 18:48:27 +0000 (20:48 +0200)
* As Phil points out, not enough people are debugging -native stuff
* The actual bug in the git -native recipe not using links still isn't solved, though

conf/distro/include/angstrom-eglibc.inc
conf/distro/include/angstrom-uclibc.inc
conf/distro/include/angstrom-uclinux-uclibc.inc

index 6a1f93b..26b8588 100644 (file)
@@ -19,7 +19,7 @@ FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-reg
 FULL_OPTIMIZATION_pn-perl = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1"
 FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
 
-BUILD_OPTIMIZATION = "-O2 -ggdb3"
+BUILD_OPTIMIZATION = "-O2"
 BUILD_OPTIMIZATION_pn-perl = "-O1"
 BUILD_OPTIMIZATION_sparc = "-O2"
 
index 4ca6838..1c7f7f5 100644 (file)
@@ -15,7 +15,7 @@ TARGET_OS = "${@['${TARGET_OS_UC}', 'uclinux-uclibc'][bb.data.getVar('TARGET_ARC
 #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 -O2 -ggdb3"
-BUILD_OPTIMIZATION = "-O2 -ggdb3"
+BUILD_OPTIMIZATION = "-O2"
 
 #Gcc will die with 'internal consistency error when using the above optimizations
 #with gcc-4.2.1-atmel.1.0.3 (and probably most other avr32 gcc ports).
index 92b8d8b..e591ee2 100644 (file)
@@ -11,7 +11,7 @@ TARGET_OS_UC = "uclinux${@['-uclibc','-uclibceabi'][bb.data.getVar('TARGET_ARCH'
 #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 -O2 -ggdb3"
-BUILD_OPTIMIZATION = "-O2 -ggdb3"
+BUILD_OPTIMIZATION = "-O2"
 
 #Gcc will die with 'internal consistency error when using the above optimizations
 FULL_OPTIMIZATION_avr32 = ""