From a621a4ae2f282efbfa6da80a1dbe6a2e8ebc3aff Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 30 Nov 2007 09:31:11 +0000 Subject: angstrom-uclibc: atler cflags to work around broken avr32 compiler --- conf/distro/include/angstrom-uclibc.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc index 59d40957d5..7e8e60d7dd 100644 --- a/conf/distro/include/angstrom-uclibc.inc +++ b/conf/distro/include/angstrom-uclibc.inc @@ -14,5 +14,10 @@ TARGET_OS = "${@['${TARGET_OS_UC}', 'uclinux-uclibc'][bb.data.getVar('TARGET_ARC #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" + +#Gcc will die with 'internal consistency error when using the above optimizations +FULL_OPTIMIZATION_avr32 = "" +BUILD_OPTIMIZATION_avr32 = "" + CXXFLAGS += "-fvisibility-inlines-hidden" -- cgit v1.2.3