aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-01-05 11:04:04 +0800
committerfanquake <fanquake@gmail.com>2021-03-10 08:04:04 +0800
commitd769b3372d9833224a5151000ab99048474f8051 (patch)
tree6dfb0e039556d29c9b380052f2caeb2c7ff498a7 /depends
parentbca5ee6f38f0ac89f0bb90d9e005b5bbd7c25b82 (diff)
build: only pass -optimized-tools to qt in debug mode
Qt's configure tells us that "-optimized-tools is not useful in -release mode.", so don't use it there.
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 7d122ea5f9..b00aabfacc 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -26,6 +26,7 @@ define $(package)_set_vars
$(package)_config_opts_release = -release
$(package)_config_opts_release += -silent
$(package)_config_opts_debug = -debug
+$(package)_config_opts_debug += -optimized-tools
$(package)_config_opts += -bindir $(build_prefix)/bin
$(package)_config_opts += -c++std c++1z
$(package)_config_opts += -confirm-license
@@ -67,7 +68,6 @@ $(package)_config_opts += -no-xinput2
$(package)_config_opts += -nomake examples
$(package)_config_opts += -nomake tests
$(package)_config_opts += -opensource
-$(package)_config_opts += -optimized-tools
$(package)_config_opts += -pkg-config
$(package)_config_opts += -prefix $(host_prefix)
$(package)_config_opts += -qt-libpng