[oe-commits] Koen Kooi : angstrom: don't use -ggdb3 for -native and -cross

git version control git at git.openembedded.org
Sat Jul 17 18:50:58 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a77e25590931da8e1184bbaf86776e88ed7f7a65
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a77e25590931da8e1184bbaf86776e88ed7f7a65

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Jul 17 20:48:27 2010 +0200

angstrom: don't use -ggdb3 for -native and -cross

* 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         |    2 +-
 conf/distro/include/angstrom-uclibc.inc         |    2 +-
 conf/distro/include/angstrom-uclinux-uclibc.inc |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index 6a1f93b..26b8588 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -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"
 
diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc
index 4ca6838..1c7f7f5 100644
--- a/conf/distro/include/angstrom-uclibc.inc
+++ b/conf/distro/include/angstrom-uclibc.inc
@@ -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).
diff --git a/conf/distro/include/angstrom-uclinux-uclibc.inc b/conf/distro/include/angstrom-uclinux-uclibc.inc
index 92b8d8b..e591ee2 100644
--- a/conf/distro/include/angstrom-uclinux-uclibc.inc
+++ b/conf/distro/include/angstrom-uclinux-uclibc.inc
@@ -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 = ""





More information about the Openembedded-commits mailing list