diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-04-04 13:43:29 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-04-05 10:16:10 +0000 |
commit | bd74e19f10d7002530ba271cb95dc7166bcc0d55 (patch) | |
tree | c45ff25f00197106998f8240a7e6c1ae798c6644 | |
parent | 341f1e6ae29770c3ae26e88587a69bebc82232f1 (diff) |
Libclang: Cross-compile for x86 platforms
Change-Id: Idf7310beaf2c6728f70e871504e791e03577c43d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | packaging-tools/build_clang.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging-tools/build_clang.py b/packaging-tools/build_clang.py index d6bf7378d..8806c8ff3 100644 --- a/packaging-tools/build_clang.py +++ b/packaging-tools/build_clang.py @@ -105,10 +105,10 @@ def msvc_environment(bitness): msvc_ver = msvc_version() if msvc_ver == '14.1' or msvc_ver == '14.2': vcvarsall = os.path.join(program_files, 'Microsoft Visual Studio', msvc_year(), 'Professional', 'VC', 'Auxiliary', 'Build', 'vcvarsall.bat') - arg = 'x64' if bitness == 64 else 'x86' + arg = 'x64' if bitness == 64 else 'x64_x86' else: vcvarsall = os.path.join(program_files, 'Microsoft Visual Studio ' + msvc_ver, 'VC', 'vcvarsall.bat') - arg = 'amd64' if bitness == 64 else 'x86' + arg = 'amd64' if bitness == 64 else 'x64_x86' return environmentfrombatchfile.get(vcvarsall, arguments=arg) def paths_with_sh_exe_removed(path_value): |