mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
Patch gcc to install 64 bit libraries to /lib instead of /lib64
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
6ced6fc948
commit
90fc4f4e9e
1 changed files with 13 additions and 1 deletions
|
@ -6,6 +6,18 @@ SHA256SUM="196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080"
|
||||||
DEPENDS="tc-binutils tc-cloog tc-gmp tc-isl tc-mpc tc-mpfr linux_headers"
|
DEPENDS="tc-binutils tc-cloog tc-gmp tc-isl tc-mpc tc-mpfr linux_headers"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
#
|
||||||
|
# XXX: if you ever add support for another 64 bit processor,
|
||||||
|
# you need to patch this.
|
||||||
|
#
|
||||||
|
# Fixup multilib configuration to install libraries
|
||||||
|
# into /lib instead of /lib64
|
||||||
|
#
|
||||||
|
for subdir in "i386/t-linux64" "aarch64/t-aarch64-linux"; do
|
||||||
|
sed -e '/m64=/s/lib64/lib/' \
|
||||||
|
-i "$PKGSRCDIR/$SRCDIR/gcc/config/$subdir"
|
||||||
|
done
|
||||||
|
|
||||||
for child in cloog gmp isl mpc mpfr; do
|
for child in cloog gmp isl mpc mpfr; do
|
||||||
include_pkg "tc-$child"
|
include_pkg "tc-$child"
|
||||||
|
|
||||||
|
@ -46,4 +58,4 @@ check_update() {
|
||||||
grep -o ">gcc-[0-9.]*/<" | \
|
grep -o ">gcc-[0-9.]*/<" | \
|
||||||
sed 's/>gcc-//g' | sed 's/\/<//g' | \
|
sed 's/>gcc-//g' | sed 's/\/<//g' | \
|
||||||
verson_find_greatest "$VERSION"
|
verson_find_greatest "$VERSION"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue