commit:     f527f1e3a1b76d938085f26d25a88d07115c4b87
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: Thu Nov 19 17:12:33 2015 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=f527f1e3

qt5-build.eclass: minor configure updates for 5.6 and later

 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 930619d..4ad6ee0 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -505,11 +505,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
@@ -578,9 +582,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
 

Reply via email to