Update gcc-* to upstream: 6.4.0-r7

This commit is contained in:
Oliver Smith 2018-02-27 23:24:21 +01:00
parent 74217d6001
commit c0eb991073
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
3 changed files with 12 additions and 12 deletions

View File

@ -54,7 +54,7 @@ pkgver=6.4.0
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="gcc-aarch64"
pkgrel=6
pkgrel=7
pkgdesc="Stage2 cross-compiler for aarch64"
url="http://gcc.gnu.org"
arch="armhf x86_64 x86"
@ -440,7 +440,7 @@ _package() {
done
else
# add c89/c99 wrapper scripts
cat >"$pkgdir"/usr/bin/c89 <<EOF
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
#!/bin/sh
fl="-std=c89"
for opt; do
@ -452,13 +452,13 @@ for opt; do
done
exec gcc $fl ${1+"$@"}
EOF
cat >"$pkgdir"/usr/bin/c99 <<-EOF
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
#!/bin/sh
fl="-std=c99"
for opt; do
case "$opt" in
-std=c99|-std=iso9899:1999) fl="";;
-std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
-std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2
exit 1;;
esac
done

View File

@ -54,7 +54,7 @@ pkgver=6.4.0
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="gcc-armhf"
pkgrel=6
pkgrel=7
pkgdesc="Stage2 cross-compiler for armhf"
url="http://gcc.gnu.org"
arch="aarch64 x86_64 x86"
@ -440,7 +440,7 @@ _package() {
done
else
# add c89/c99 wrapper scripts
cat >"$pkgdir"/usr/bin/c89 <<EOF
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
#!/bin/sh
fl="-std=c89"
for opt; do
@ -452,13 +452,13 @@ for opt; do
done
exec gcc $fl ${1+"$@"}
EOF
cat >"$pkgdir"/usr/bin/c99 <<-EOF
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
#!/bin/sh
fl="-std=c99"
for opt; do
case "$opt" in
-std=c99|-std=iso9899:1999) fl="";;
-std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
-std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2
exit 1;;
esac
done

View File

@ -54,7 +54,7 @@ pkgver=6.4.0
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="gcc-x86_64"
pkgrel=6
pkgrel=7
pkgdesc="Stage2 cross-compiler for x86_64"
url="http://gcc.gnu.org"
arch="armhf aarch64 x86"
@ -440,7 +440,7 @@ _package() {
done
else
# add c89/c99 wrapper scripts
cat >"$pkgdir"/usr/bin/c89 <<EOF
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
#!/bin/sh
fl="-std=c89"
for opt; do
@ -452,13 +452,13 @@ for opt; do
done
exec gcc $fl ${1+"$@"}
EOF
cat >"$pkgdir"/usr/bin/c99 <<-EOF
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
#!/bin/sh
fl="-std=c99"
for opt; do
case "$opt" in
-std=c99|-std=iso9899:1999) fl="";;
-std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
-std=*) echo "$(basename $0) called with non ISO C99 option $opt" >&2
exit 1;;
esac
done