angstrom 2009.X: fix avr32 build
authorKoen Kooi <koen@openembedded.org>
Wed, 11 Feb 2009 17:55:46 +0000 (18:55 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 11 Feb 2009 17:55:46 +0000 (18:55 +0100)
conf/distro/include/angstrom-uclibc.inc

index 1f0b41f..86a9afd 100644 (file)
@@ -34,7 +34,7 @@ BUILD_OPTIMIZATION = "-Os"
 #Note that this testing was done without the gcc-pr32889.patch.
 FULL_OPTIMIZATION_avr32 = "-Os -fomit-frame-pointer"
 
-TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel']]}"
+TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'avr32']]}"
 
 CXXFLAGS += "-fvisibility-inlines-hidden"