Skip to content

Commit 01d1845

Browse files
committed
build, qt: Specify QMAKE_CXX explicitly
This change allows to drop the `update-alternatives` step if the `g++-mingw-w64-x86-64` package has been installed.
1 parent 219d728 commit 01d1845

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/packages/qt.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ $(package)_config_opts_mingw32 += -no-dbus
163163
$(package)_config_opts_mingw32 += -no-freetype
164164
$(package)_config_opts_mingw32 += -xplatform win32-g++
165165
$(package)_config_opts_mingw32 += "QMAKE_CFLAGS = '$($(package)_cflags) $($(package)_cppflags)'"
166+
$(package)_config_opts_mingw32 += "QMAKE_CXX = '$($(package)_cxx)'"
166167
$(package)_config_opts_mingw32 += "QMAKE_CXXFLAGS = '$($(package)_cflags) $($(package)_cppflags)'"
167168
$(package)_config_opts_mingw32 += "QMAKE_LFLAGS = '$($(package)_ldflags)'"
168169
$(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-"

0 commit comments

Comments
 (0)