From d895433b6c50e46edd9a75ed512455513f8e00df Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 16 Jun 2009 16:07:21 +0200 Subject: 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'." --- conf/distro/include/angstrom-uclibc.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf/distro/include/angstrom-uclibc.inc') 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). -- cgit 1.2.3-korg