cross-powerpc64le-linux-musl: patch out __gnu_linux__
See the matching change in gcc. [ci skip]
This commit is contained in:
parent
1ade549bd3
commit
13685f586b
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,7 @@ _sysroot="/usr/${_triplet}"
|
||||||
|
|
||||||
pkgname=cross-${_triplet}
|
pkgname=cross-${_triplet}
|
||||||
version=0.30
|
version=0.30
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="Cross toolchain for powerpc64le with musl"
|
short_desc="Cross toolchain for powerpc64le with musl"
|
||||||
maintainer="q66 <daniel@octaforge.org>"
|
maintainer="q66 <daniel@octaforge.org>"
|
||||||
homepage="https://www.voidlinux.org/"
|
homepage="https://www.voidlinux.org/"
|
||||||
|
@ -89,6 +89,9 @@ _gcc_bootstrap() {
|
||||||
|
|
||||||
sed -i 's/lib64/lib/' gcc/config/rs6000/linux64.h
|
sed -i 's/lib64/lib/' gcc/config/rs6000/linux64.h
|
||||||
|
|
||||||
|
# REMOVE WITH 9.1
|
||||||
|
sed -i 's/ \-D__gnu_linux__//' gcc/config/rs6000/sysv4.h
|
||||||
|
|
||||||
msg_normal "Building cross gcc bootstrap\n"
|
msg_normal "Building cross gcc bootstrap\n"
|
||||||
|
|
||||||
[ ! -d ../gcc-bootstrap ] && mkdir ../gcc-bootstrap
|
[ ! -d ../gcc-bootstrap ] && mkdir ../gcc-bootstrap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue