diff options
author | Koen Kooi <koen@openembedded.org> | 2009-06-16 16:07:21 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-06-16 16:07:21 +0200 |
commit | d895433b6c50e46edd9a75ed512455513f8e00df (patch) | |
tree | cbf4ab986f38ecd6a7267655f4fac6f617b2bce2 /conf/distro/include/angstrom-uclibc.inc | |
parent | 658930dd64c9c4a86fdee5bcc0e6789feb4a1341 (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-uclibc.inc')
-rw-r--r-- | conf/distro/include/angstrom-uclibc.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc index 3079e0d365..a60952ff06 100644 --- a/conf/distro/include/angstrom-uclibc.inc +++ b/conf/distro/include/angstrom-uclibc.inc @@ -14,8 +14,8 @@ 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 -Os" -BUILD_OPTIMIZATION = "-Os" +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3" +BUILD_OPTIMIZATION = "-O2 -ggdb3" #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). |