[oe-commits] Koen Kooi : angstrom glibc: don't compile native tools with -ggdb3, only with -g
git version control
git at git.openembedded.org
Wed Jul 15 12:36:50 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2693400c66659b6f55ca3339db76a53c6f476ca2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2693400c66659b6f55ca3339db76a53c6f476ca2
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Jul 15 13:37:25 2009 +0200
angstrom glibc: don't compile native tools with -ggdb3, only with -g
---
conf/distro/include/angstrom-glibc.inc | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 1f0967a..287bd9b 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -17,11 +17,9 @@ FULL_OPTIMIZATION_pn-glibc = "-fexpensive-optimizations -fomit-frame-pointer -O2
FULL_OPTIMIZATION_sparc = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
FULL_OPTIMIZATION_ep9312 = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O -fno-signed-zeros"
-BUILD_OPTIMIZATION = "-O2 -ggdb3"
-BUILD_OPTIMIZATION_pn-perl = "-O1"
-BUILD_OPTIMIZATION_pn-glibc = "-O2"
-BUILD_OPTIMIZATION_sparc = "-O2"
-BUILD_OPTIMIZATION_ep9312 = "-O"
+# This is only used for -native packages
+BUILD_OPTIMIZATION = "-O2 -g"
+BUILD_OPTIMIZATION_pn-perl-native = "-O1 -g"
TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel']]}"
More information about the Openembedded-commits
mailing list