Details
-
Bug
-
Resolution: Done
-
P2: Important
-
1.14.0
-
None
-
-
6f8feb9cccbf130339cf118a61512feb8a0424c8 (qbs/qbs/1.15)
Description
On a windows machine with msvc and clang9(x86_64) installed I ran `qbs-setup-toolchains --detect` and got among others two clang-cl profiles: one with qbs.architecture "x86", and another with "x86_64". However, x86 profile produces x64 object files and links with /MACHINE:X86, which creates an error.
So I have to add -m32 compiler flag to the 'x86' profile.