Update gcc-* to upstream: 6.4.0-r7
This commit is contained in:
parent
23b5c7d3a1
commit
7581bc0858
3 changed files with 12 additions and 12 deletions
|
@ -54,7 +54,7 @@ pkgver=6.4.0
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname="gcc-aarch64"
|
pkgname="gcc-aarch64"
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||||
url="http://gcc.gnu.org"
|
url="http://gcc.gnu.org"
|
||||||
arch="armhf x86_64 x86"
|
arch="armhf x86_64 x86"
|
||||||
|
@ -440,7 +440,7 @@ _package() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
# add c89/c99 wrapper scripts
|
# add c89/c99 wrapper scripts
|
||||||
cat >"$pkgdir"/usr/bin/c89 <<EOF
|
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c89"
|
fl="-std=c89"
|
||||||
for opt; do
|
for opt; do
|
||||||
|
@ -452,13 +452,13 @@ for opt; do
|
||||||
done
|
done
|
||||||
exec gcc $fl ${1+"$@"}
|
exec gcc $fl ${1+"$@"}
|
||||||
EOF
|
EOF
|
||||||
cat >"$pkgdir"/usr/bin/c99 <<-EOF
|
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c99"
|
fl="-std=c99"
|
||||||
for opt; do
|
for opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
-std=c99|-std=iso9899:1999) fl="";;
|
-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;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -54,7 +54,7 @@ pkgver=6.4.0
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname="gcc-armhf"
|
pkgname="gcc-armhf"
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for armhf"
|
pkgdesc="Stage2 cross-compiler for armhf"
|
||||||
url="http://gcc.gnu.org"
|
url="http://gcc.gnu.org"
|
||||||
arch="aarch64 x86_64 x86"
|
arch="aarch64 x86_64 x86"
|
||||||
|
@ -440,7 +440,7 @@ _package() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
# add c89/c99 wrapper scripts
|
# add c89/c99 wrapper scripts
|
||||||
cat >"$pkgdir"/usr/bin/c89 <<EOF
|
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c89"
|
fl="-std=c89"
|
||||||
for opt; do
|
for opt; do
|
||||||
|
@ -452,13 +452,13 @@ for opt; do
|
||||||
done
|
done
|
||||||
exec gcc $fl ${1+"$@"}
|
exec gcc $fl ${1+"$@"}
|
||||||
EOF
|
EOF
|
||||||
cat >"$pkgdir"/usr/bin/c99 <<-EOF
|
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c99"
|
fl="-std=c99"
|
||||||
for opt; do
|
for opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
-std=c99|-std=iso9899:1999) fl="";;
|
-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;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
@ -54,7 +54,7 @@ pkgver=6.4.0
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname="gcc-x86_64"
|
pkgname="gcc-x86_64"
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="Stage2 cross-compiler for x86_64"
|
pkgdesc="Stage2 cross-compiler for x86_64"
|
||||||
url="http://gcc.gnu.org"
|
url="http://gcc.gnu.org"
|
||||||
arch="armhf aarch64 x86"
|
arch="armhf aarch64 x86"
|
||||||
|
@ -440,7 +440,7 @@ _package() {
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
# add c89/c99 wrapper scripts
|
# add c89/c99 wrapper scripts
|
||||||
cat >"$pkgdir"/usr/bin/c89 <<EOF
|
cat >"$pkgdir"/usr/bin/c89 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c89"
|
fl="-std=c89"
|
||||||
for opt; do
|
for opt; do
|
||||||
|
@ -452,13 +452,13 @@ for opt; do
|
||||||
done
|
done
|
||||||
exec gcc $fl ${1+"$@"}
|
exec gcc $fl ${1+"$@"}
|
||||||
EOF
|
EOF
|
||||||
cat >"$pkgdir"/usr/bin/c99 <<-EOF
|
cat >"$pkgdir"/usr/bin/c99 <<'EOF'
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
fl="-std=c99"
|
fl="-std=c99"
|
||||||
for opt; do
|
for opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
-std=c99|-std=iso9899:1999) fl="";;
|
-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;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue