commit: 9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 17:02:19 2016 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 17:02:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c575cb9
qt4-build-multilib.eclass: prepare configure for gcc-6 and beyond
eclass/qt4-build-multilib.eclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass
index 51a2f30..8007f86 100644
--- a/eclass/qt4-build-multilib.eclass
+++ b/eclass/qt4-build-multilib.eclass
@@ -190,6 +190,10 @@ qt4-build-multilib_src_prepare() {
append-flags -mminimal-toc
fi
+ # Teach configure about gcc-6 and later
+ sed -i -e 's:5\*|:[5-9]*|:' \
+ configure || die "sed gcc version failed"
+
# Read also AR from the environment
sed -i -e 's/^SYSTEM_VARIABLES="/&AR /' \
configure || die "sed SYSTEM_VARIABLES failed"