aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-15 13:37:25 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-15 13:37:25 +0200
commit2693400c66659b6f55ca3339db76a53c6f476ca2 (patch)
tree1a866d42baa76a08a37877b00e714dc84fd82649
parent994cee6e511cb89bee8bc36cefca6e53d7f41686 (diff)
downloadopenembedded-2693400c66659b6f55ca3339db76a53c6f476ca2.tar.gz
openembedded-2693400c66659b6f55ca3339db76a53c6f476ca2.tar.bz2
openembedded-2693400c66659b6f55ca3339db76a53c6f476ca2.zip
angstrom glibc: don't compile native tools with -ggdb3, only with -g
-rw-r--r--conf/distro/include/angstrom-glibc.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 1f0967a42e..287bd9bd77 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']]}"