aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/include/angstrom-uclibc.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-12-05 14:06:19 -0800
committerKhem Raj <raj.khem@gmail.com>2008-12-05 14:06:19 -0800
commitc4722a23469a7c5a3597671efb4003227266f977 (patch)
treecfcb450e6629c713b36341d7162bea0b5c00d607 /conf/distro/include/angstrom-uclibc.inc
parent64ed424e3233b8096f3074a5eb003b121aaf83a3 (diff)
downloadopenembedded-c4722a23469a7c5a3597671efb4003227266f977.tar.gz
angstrom-*libc: Disable GNU hash style for mips.
* .gnu.hash stuff seems to be fundamentally incompatible with the MIPS ABI
Diffstat (limited to 'conf/distro/include/angstrom-uclibc.inc')
-rw-r--r--conf/distro/include/angstrom-uclibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/distro/include/angstrom-uclibc.inc b/conf/distro/include/angstrom-uclibc.inc
index 8383ddcf2d..71b8862e4b 100644
--- a/conf/distro/include/angstrom-uclibc.inc
+++ b/conf/distro/include/angstrom-uclibc.inc
@@ -33,7 +33,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"
+TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel']]}"
CXXFLAGS += "-fvisibility-inlines-hidden"