angstrom-uclibc: atler cflags to work around broken avr32 compiler
authorKoen Kooi <koen@openembedded.org>
Fri, 30 Nov 2007 09:31:11 +0000 (09:31 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 30 Nov 2007 09:31:11 +0000 (09:31 +0000)
conf/distro/include/angstrom-uclibc.inc

index 59d4095..7e8e60d 100644 (file)
@@ -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"