qt6-bb10/mkspecs/common
Joerg Bornemann 9c56c1f7c2 QMake: Fix quoting of WASM's ASYNCIFY_IMPORTS linker option
WASM projects failed to link on Windows if "CONFIG += silent" was
specified in the .pro file and the build environment did not contain
sh.exe.

In that case, QMake prepends "@echo linking && " to the link command.
The mingw32-make tool then considers this command as "complex command"
and runs it through either sh.exe or cmd.exe, depending on whether
sh.exe is found in PATH. If cmd.exe is used, the single quotes around
the ASYNCIFY_IMPORTS option are passed verbatim to em++. Then em++
thinks 'ASYNCIFY_IMPORTS=qt_asyncify_suspend_js,qt_asyncify_resume_js'
is an input file. That file is of course non-existent, and linking
fails.

Remove the single quotes around the linker option. They are not
necessary.

Pick-to: 6.5 6.6 6.7
Fixes: QTBUG-122192
Change-Id: Id362b51ac787f7f235bcb3d9102c5dee66ce5768
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-02-19 15:24:07 +01:00
..
aix Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
android Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
bsd Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
c89 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
integrity Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
posix Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
qnx Remove QT_READDIR_R macro from qplatformdefs.h 2024-02-06 00:57:17 +02:00
rtems Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
uikit qmake: iOS: Don't pass -fobjc-nonfragile-abi -fobjc-legacy-dispatch 2022-05-23 21:12:06 +02:00
vxworks undef READ and WRITE on VxWorks 2023-08-31 22:30:35 +00:00
wasm QMake: Fix quoting of WASM's ASYNCIFY_IMPORTS linker option 2024-02-19 15:24:07 +01:00
clang-mac.conf Fix LTCG linker flags for macOS with separate debug info 2019-11-08 17:00:17 +01:00
clang.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
g++-base.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
g++-macx.conf
g++-unix.conf
g++-win32.conf Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00
g++.conf
gcc-base-mac.conf MinGW: reuse gcc-base.conf and g++-base.conf 2016-11-29 16:23:58 +00:00
gcc-base-unix.conf Add llvm linker detection to configure 2019-02-06 22:11:22 +00:00
gcc-base.conf Enable -mno-direct-extern-access and ELF protected visibility 2022-03-10 17:10:57 -08:00
ghs-base.conf INTEGRITY: enable C99 globally 2022-05-11 14:56:55 +00:00
ghs-integrity-armv7.conf Add -bigswitch on INTEGRITY 2017-04-03 08:08:46 +00:00
ghs-integrity-armv8.conf Add option to select build target for Integrity 2020-04-20 19:34:27 +03:00
ghs-integrity-x86.conf
icc-base-unix.conf Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
ios.conf Add support for Apple tvOS 2016-05-17 16:11:23 +00:00
linux.conf Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
llvm.conf
mac.conf Revert "configure: actually resolve libraries into full filepaths" 2019-09-13 10:47:38 +02:00
macx.conf Bump macOS minimum deployment target to 12 (Monterey) 2024-02-01 01:50:35 +02:00
msvc-based-version.conf qmake: Introduce the variable MSVC_TOOLSET_VER 2021-11-10 14:47:42 +01:00
msvc-desktop.conf MSVC: enable identical COMDAT folding for release builds 2020-11-12 03:51:04 +08:00
msvc-version.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
qcc-base-qnx-aarch64le.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-armle-v7.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86-64.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx.conf Use C++17 for qmake and force the build of everything with C++17 2020-02-08 09:49:07 +01:00
qcc-base.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
rtems-base.conf rtems: add mkspecs for new operation system RTEMS 2019-05-06 06:56:33 +00:00
sanitize.conf configure: Explicitly enable float-divide-by-zero with ubsan 2020-08-07 01:21:07 +02:00
shell-unix.conf
shell-win32.conf
solaris.conf Fix solaris build 2020-05-05 15:34:16 +02:00
tvos.conf qmake: enable bitcode also for iOS 2016-08-19 21:06:05 +00:00
uikit.conf Disable bitcode for iOS 2022-07-07 17:02:37 +02:00
unix.conf
watchos.conf qmake: enable bitcode also for iOS 2016-08-19 21:06:05 +00:00
windows-desktop.conf Enable users to specify WindowsTargetPlatform[Min]Version in VS projects 2018-11-16 10:55:16 +00:00
windows-vulkan.conf Resolve QMAKE_INCDIR_VULKAN on every qmake call 2019-05-05 13:15:37 +00:00