commit: b47f0bcf118e9b08f1ac33954e9eaae2b7483335
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 01:55:43 2015 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 01:55:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=b47f0bcf
qt5-build.eclass: sync with gentoo repo.
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
eclass/qt5-build.eclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 748ed77..b274cf6 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -197,6 +197,10 @@ qt5-build_src_prepare() {
find config.tests/unix -name '*.test' -type f \
-execdir sed -i -e '/bin\/qmake/ s/-nocache //' '{}' + \
|| die "sed failed (config.tests)"
+
+ # Don't add -O3 to CXXFLAGS (bug 549140)
+ sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \
+ src/{corelib/corelib,gui/gui}.pro || die "sed failed
(optimize_full)"
fi
# apply patches