diff options
-rw-r--r-- | meta/classes/insane.bbclass | 4 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 723348fc8e7..60dce52e585 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -373,9 +373,7 @@ def package_qa_hash_style(path, name, d, elf, messages): for line in phdrs.split("\n"): if "SYMTAB" in line: has_syms = True - if "GNU_HASH" in line: - sane = True - if "[mips32]" in line or "[mips64]" in line: + if "GNU_HASH" or "DT_MIPS_XHASH" in line: sane = True if has_syms and not sane: diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 62b5466b717..0db1d1b54a7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -586,8 +586,6 @@ export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \ BUILDSDK_LDFLAGS = "-Wl,-O1" LINKER_HASH_STYLE ??= "gnu" -# mips does not support GNU hash style therefore we override -LINKER_HASH_STYLE_mipsarch = "sysv" TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][d.getVar('LINKER_HASH_STYLE') != 'gnu']}" |