summaryrefslogtreecommitdiff
path: root/conf/distro/include/angstrom-eglibc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/distro/include/angstrom-eglibc.inc')
-rw-r--r--conf/distro/include/angstrom-eglibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
index 1d38e5f316..c0d87a4ff5 100644
--- a/conf/distro/include/angstrom-eglibc.inc
+++ b/conf/distro/include/angstrom-eglibc.inc
@@ -29,7 +29,7 @@ BUILD_OPTIMIZATION = "-Os"
BUILD_OPTIMIZATION_pn-perl = "-O1"
BUILD_OPTIMIZATION_sparc = "-O2"
-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"