Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 1.17.0
-
Fix Version/s: some future version
-
Component/s: Build & Distribution of Qbs
-
Labels:None
-
Platform/s:
-
Commits:21184c9d9eb42592a9f14f2235e634ac0b4a4e6d
Description
When trying to set a linker flag build-id for Android build, its value is overwritten by the value declared in qbs/share/qbs/modules/Android/ndk/utils.js, function commonLinkerFlags(abi). Looks like it is caused by the commit 7e15ee6ab3bc585a9bbcda61f6b54dd763102b0a, where the flag "--build-id=sha1" was added.
It would be nice to make this flag a qbs property with the default sha1 for all compilers that support it and undefined otherwise.