Skip to content

Commit d769b33

Browse files
committed
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.
1 parent bca5ee6 commit d769b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depends/packages/qt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ define $(package)_set_vars
2626
$(package)_config_opts_release = -release
2727
$(package)_config_opts_release += -silent
2828
$(package)_config_opts_debug = -debug
29+
$(package)_config_opts_debug += -optimized-tools
2930
$(package)_config_opts += -bindir $(build_prefix)/bin
3031
$(package)_config_opts += -c++std c++1z
3132
$(package)_config_opts += -confirm-license
@@ -67,7 +68,6 @@ $(package)_config_opts += -no-xinput2
6768
$(package)_config_opts += -nomake examples
6869
$(package)_config_opts += -nomake tests
6970
$(package)_config_opts += -opensource
70-
$(package)_config_opts += -optimized-tools
7171
$(package)_config_opts += -pkg-config
7272
$(package)_config_opts += -prefix $(host_prefix)
7373
$(package)_config_opts += -qt-libpng

0 commit comments

Comments
 (0)