summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 618a57b602..f18e35b7eb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -482,7 +482,7 @@ LINKER_HASH_STYLE_mips = "sysv"
482LINKER_HASH_STYLE_mipsel = "sysv" 482LINKER_HASH_STYLE_mipsel = "sysv"
483LINKER_HASH_STYLE_mips64 = "sysv" 483LINKER_HASH_STYLE_mips64 = "sysv"
484LINKER_HASH_STYLE_mips64el = "sysv" 484LINKER_HASH_STYLE_mips64el = "sysv"
485TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('LINKER_HASH_STYLE', d, True) == 'gnu']}" 485TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][d.getVar('LINKER_HASH_STYLE', True) != 'gnu']}"
486 486
487export LDFLAGS = "${TARGET_LDFLAGS}" 487export LDFLAGS = "${TARGET_LDFLAGS}"
488export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}" 488export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}"