projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4e693
)
qt4-build-multilib.eclass: prepare configure for gcc-6 and beyond
author
Davide Pesavento
<pesa@gentoo.org>
Sun, 17 Apr 2016 17:02:19 +0000
(19:02 +0200)
committer
Davide Pesavento
<pesa@gentoo.org>
Sun, 17 Apr 2016 17:02:19 +0000
(19:02 +0200)
eclass/qt4-build-multilib.eclass
patch
|
blob
|
history
diff --git
a/eclass/qt4-build-multilib.eclass
b/eclass/qt4-build-multilib.eclass
index 51a2f303d091d8ad08bf913720d2fdef7d7f44df..8007f862a8c7953ac99309a59bcd2bce84e4e9bb 100644
(file)
--- 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"