diff options
author | fanquake <fanquake@gmail.com> | 2024-03-27 10:49:50 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-04-16 09:12:39 +0100 |
commit | a6862c50c52f1606f8ad143da8d8f3c7e8f3f5c3 (patch) | |
tree | fc6653068932f7b207a88fda8220b8230cd0e219 /depends | |
parent | d82283950f5ff3b2116e705f931c6e89e5fdd0be (diff) |
depends: fix mingw-w64 Qt DEBUG=1 build
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`,
but then linking is done with `x86_64-w64-mingw32-g++`.
I'm guessing this has been broken since #24131
(01d1845a80ae48d741deea695ddce95d940ab0d8), but have not checked.
Fixes #29734.
Unblocks #29527 (now DEBUG=1 builds can be tested).
Github-Pull: #29747
Rebased-From: b7e7e727abd86104ee58beb648a94e2f453d1f6d
Diffstat (limited to 'depends')
-rw-r--r-- | depends/packages/qt.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk index 5608e5f073..4300d8831d 100644 --- a/depends/packages/qt.mk +++ b/depends/packages/qt.mk @@ -178,6 +178,7 @@ $(package)_config_opts_mingw32 += -xplatform win32-g++ $(package)_config_opts_mingw32 += "QMAKE_CFLAGS = '$($(package)_cflags) $($(package)_cppflags)'" $(package)_config_opts_mingw32 += "QMAKE_CXX = '$($(package)_cxx)'" $(package)_config_opts_mingw32 += "QMAKE_CXXFLAGS = '$($(package)_cxxflags) $($(package)_cppflags)'" +$(package)_config_opts_mingw32 += "QMAKE_LINK = '$($(package)_cxx)'" $(package)_config_opts_mingw32 += "QMAKE_LFLAGS = '$($(package)_ldflags)'" $(package)_config_opts_mingw32 += "QMAKE_LIB = '$($(package)_ar) rc'" $(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-" |