From: Koen Kooi Date: Wed, 15 Jul 2009 11:37:25 +0000 (+0200) Subject: angstrom glibc: don't compile native tools with -ggdb3, only with -g X-Git-Tag: Release-2010-05/1~2954 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2693400c66659b6f55ca3339db76a53c6f476ca2;p=openembedded.git angstrom glibc: don't compile native tools with -ggdb3, only with -g --- 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']]}"