summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2015-11-19 18:12:33 +0100
committerDavide Pesavento <pesa@gentoo.org>2016-02-02 19:34:47 +0100
commit72edb80bf398dbc00671417c95155b551f579d1f (patch)
tree52354a7ec9e503b514240090fdf666b81c888436 /eclass
parentqt5-build.eclass: stop passing some obsolete options to configure (diff)
downloadgentoo-72edb80bf398dbc00671417c95155b551f579d1f.tar.gz
gentoo-72edb80bf398dbc00671417c95155b551f579d1f.tar.bz2
gentoo-72edb80bf398dbc00671417c95155b551f579d1f.zip
qt5-build.eclass: minor configure updates for 5.6 and later
(cherry picked from proj/qt commit f527f1e3a1b76d938085f26d25a88d07115c4b87)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt5-build.eclass11
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 04b17510da5d..c03daf331f90 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -503,11 +503,15 @@ qt5_base_configure() {
-release
-no-separate-debug-info
+ # no need to forcefully build host tools in optimized mode,
+ # just follow the overall debug/release build type
+ $([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -no-optimized-tools)
+
# licensing stuff
-opensource -confirm-license
- # let configure automatically figure out if C++11 is supported
- #-c++11
+ # autodetect the highest supported version of the C++ standard
+ #-c++std <c++11|c++14|c++1z>
# build shared libraries
-shared
@@ -576,9 +580,6 @@ qt5_base_configure() {
# print verbose information about each configure test
-verbose
- # doesn't actually matter since we override CXXFLAGS
- #-no-optimized-qmake
-
# obsolete flag, does nothing
#-nis