Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1509

qbs doesn't add -m32 to clang-cl for x86 profile

    XMLWordPrintable

Details

    • Windows
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            sergey.zhuravlev Seregey Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes