Details
Description
gcc.js contains this code:
if (product.moduleProperty("qbs", "targetOS").contains("linux")) { args.push("-Wl,--hash-style=gnu", "-Wl,--as-needed"); args.push("-Wl,-soname=" + UnixUtils.soname(product, primaryOutput.fileName)); }
However, --hash-style=gnu linker options produces compilation error on MIPS:
/usr/bin/ld: .gnu.hash is incompatible with the MIPS ABI collect2: error: ld returned 1 exit status
I believe it will be better to not hardcode the hash style (and rely on binutils default choice) or add a check that architecture is not MIPS.