summaryrefslogtreecommitdiff
path: root/conf/distro/include/angstrom-eglibc.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-16 16:07:21 +0200
committerKoen Kooi <koen@openembedded.org>2009-06-16 16:07:21 +0200
commitd895433b6c50e46edd9a75ed512455513f8e00df (patch)
treecbf4ab986f38ecd6a7267655f4fac6f617b2bce2 /conf/distro/include/angstrom-eglibc.inc
parent658930dd64c9c4a86fdee5bcc0e6789feb4a1341 (diff)
Angstrom: build with -ggdb3 by default
"Level 3 includes extra information, such as all the macro definitions present in the program. GDB supports macro expansion when you use `-gdb3'."
Diffstat (limited to 'conf/distro/include/angstrom-eglibc.inc')
-rw-r--r--conf/distro/include/angstrom-eglibc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index 655cf9d50e..92e22332b7 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -10,11 +10,11 @@ TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm'
# perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616
# [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os"
-FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3"
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 = "-Os"
+BUILD_OPTIMIZATION = "-O2 -ggdb3"
BUILD_OPTIMIZATION_pn-perl = "-O1"
BUILD_OPTIMIZATION_sparc = "-O2"