aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-20 13:39:40 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-20 13:39:40 +0200
commit71d33bf33f8837f80d623c8c05342388e414c46d (patch)
tree0f526b385038e9b1a556aa9b0a41349aa942b645 /depends
parenta09033e22c4f072c86a1885dd476f3059e5416d1 (diff)
build, qt: Fix `QMAKE_CXXFLAGS` expression for `mingw32` host
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/qt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index 2bc3a81430..7e268fe9a5 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -171,7 +171,7 @@ $(package)_config_opts_mingw32 += -no-freetype
$(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)_cflags) $($(package)_cppflags)'"
+$(package)_config_opts_mingw32 += "QMAKE_CXXFLAGS = '$($(package)_cxxflags) $($(package)_cppflags)'"
$(package)_config_opts_mingw32 += "QMAKE_LFLAGS = '$($(package)_ldflags)'"
$(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-"
$(package)_config_opts_mingw32 += -pch