commit: 72edb80bf398dbc00671417c95155b551f579d1f
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 17:12:33 2015 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Feb 2 18:34:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72edb80b
qt5-build.eclass: minor configure updates for 5.6 and later
(cherry picked from proj/qt commit f527f1e3a1b76d938085f26d25a88d07115c4b87)
eclass/qt5-build.eclass | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 04b1751..c03daf3 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