mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
qt4-build-multilib.eclass: prepare configure for gcc-6 and beyond
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user