cross-powerpc-linux-musl: patch out __gnu_linux__
See the matching change in gcc. [ci skip] Closes: #11524 [via git-merge-pr]
This commit is contained in:
parent
ee6a701746
commit
32fcd140a0
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}"
|
|||
|
||||
pkgname=cross-${_triplet}
|
||||
version=0.30
|
||||
revision=3
|
||||
revision=4
|
||||
|
||||
short_desc="Cross toolchain for PowerPC (musl)"
|
||||
maintainer="Thomas Batten <stenstorpmc@gmail.com>"
|
||||
|
@ -92,6 +92,9 @@ _gcc_bootstrap() {
|
|||
_apply_patch -p0 ${FILESDIR}/libgcc-musl-ldbl128-config.patch
|
||||
_apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch
|
||||
|
||||
# REMOVE WITH 9.1
|
||||
sed -i 's/ \-D__gnu_linux__//' gcc/config/rs6000/sysv4.h
|
||||
|
||||
msg_normal "Building cross gcc bootstrap\n"
|
||||
|
||||
[ ! -d ../gcc-bootstrap ] && mkdir ../gcc-bootstrap
|
||||
|
|
Loading…
Reference in a new issue