summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Eriksson2016-09-03 18:00:09 +0200
committerSimon Eriksson2016-09-03 18:00:09 +0200
commit64fae41f652cb261033449ec2c3f8a544e6fefe0 (patch)
tree2b3b119d2d11eac5efc5ddc9291d152dc454d647
parent45ac6ce9412fbc0771ae16b9b00c6f3f644445cb (diff)
downloadaur-64fae41f652cb261033449ec2c3f8a544e6fefe0.tar.gz
Update to 6.2.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD18
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 78aa9b02715..1c045385648 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mips64-elf-gcc-stage1
pkgdesc = The GNU Compiler Collection. Stage 1 for toolchain building (mips64-elf)
- pkgver = 5.3.0
+ pkgver = 6.2.0
pkgrel = 1
url = http://www.gnu.org/software/gcc/
arch = i686
@@ -16,8 +16,8 @@ pkgbase = mips64-elf-gcc-stage1
optdepends = mips64-elf-newlib: Standard C library optimized for embedded systems
options = !emptydirs
options = !strip
- source = ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.3.0/gcc-5.3.0.tar.bz2
- sha256sums = b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db
+ source = ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.2.0/gcc-6.2.0.tar.bz2
+ sha256sums = 9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5
pkgname = mips64-elf-gcc-stage1
diff --git a/PKGBUILD b/PKGBUILD
index afb01e5f05f..32a57cdd7c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_target=mips64-elf
pkgname=${_target}-gcc-stage1
-pkgver=5.3.0
+pkgver=6.2.0
pkgrel=1
pkgdesc="The GNU Compiler Collection. Stage 1 for toolchain building (${_target})"
url="http://www.gnu.org/software/gcc/"
@@ -13,7 +13,7 @@ makedepends=('gmp' 'mpfr')
optdepends=("${_target}-newlib: Standard C library optimized for embedded systems")
options=('!emptydirs' '!strip' )
source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2")
-sha256sums=('b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db')
+sha256sums=('9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5')
prepare() {
cd gcc-${pkgver}
@@ -28,6 +28,7 @@ build() {
export CFLAGS_FOR_TARGET="-G0 -O2"
export CXXFLAGS_FOR_TARGET="-G0 -O2"
+
../gcc-${pkgver}/configure \
--target=${_target} \
--prefix=/usr \
@@ -35,13 +36,14 @@ build() {
--libexecdir=/usr/lib \
--with-gnu-as \
--with-gnu-ld \
- --without-headers \
+ --with-python-dir=share/gcc-${_target} \
--with-newlib \
+ --without-headers \
--without-included-gettext \
+ --enable-checking=release \
--enable-languages=c \
- --enable-plugins \
- --disable-debug \
--disable-decimal-float \
+ --disable-gold \
--disable-libatomic \
--disable-libgcj \
--disable-libgomp \
@@ -50,13 +52,14 @@ build() {
--disable-libquadmath-support \
--disable-libsanitizer \
--disable-libssp \
+ --disable-libunwind-exceptions \
+ --disable-libvtv \
--disable-multilib \
--disable-nls \
--disable-shared \
--disable-threads \
--disable-werror \
- --enable-checking=release \
- --enable-gold \
+ --enable-plugin \
--enable-lto \
--enable-static \
@@ -78,5 +81,4 @@ package() {
rm -r "$pkgdir"/usr/share/man/man7
rm -r "$pkgdir"/usr/share/info
rm "$pkgdir"/usr/lib/libcc1.*
-
}