1 |
commit: 72edb80bf398dbc00671417c95155b551f579d1f |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 19 17:12:33 2015 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 18:34:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72edb80b |
7 |
|
8 |
qt5-build.eclass: minor configure updates for 5.6 and later |
9 |
|
10 |
(cherry picked from proj/qt commit f527f1e3a1b76d938085f26d25a88d07115c4b87) |
11 |
|
12 |
eclass/qt5-build.eclass | 11 ++++++----- |
13 |
1 file changed, 6 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
16 |
index 04b1751..c03daf3 100644 |
17 |
--- a/eclass/qt5-build.eclass |
18 |
+++ b/eclass/qt5-build.eclass |
19 |
@@ -503,11 +503,15 @@ qt5_base_configure() { |
20 |
-release |
21 |
-no-separate-debug-info |
22 |
|
23 |
+ # no need to forcefully build host tools in optimized mode, |
24 |
+ # just follow the overall debug/release build type |
25 |
+ $([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -no-optimized-tools) |
26 |
+ |
27 |
# licensing stuff |
28 |
-opensource -confirm-license |
29 |
|
30 |
- # let configure automatically figure out if C++11 is supported |
31 |
- #-c++11 |
32 |
+ # autodetect the highest supported version of the C++ standard |
33 |
+ #-c++std <c++11|c++14|c++1z> |
34 |
|
35 |
# build shared libraries |
36 |
-shared |
37 |
@@ -576,9 +580,6 @@ qt5_base_configure() { |
38 |
# print verbose information about each configure test |
39 |
-verbose |
40 |
|
41 |
- # doesn't actually matter since we override CXXFLAGS |
42 |
- #-no-optimized-qmake |
43 |
- |
44 |
# obsolete flag, does nothing |
45 |
#-nis |