summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-01 05:04:40 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-01 05:04:40 -0300
commit155723b7ce3444f0aa0a28f05a02001372b9f768 (patch)
tree6a62637fd7907cfcd7aa86511d5fb430ccae526e /core
parentac3cba40fe593c5e946ddfe2e43b43151eacd5e6 (diff)
finished toolchain update
Diffstat (limited to 'core')
-rw-r--r--core/binutils/PKGBUILD7
-rw-r--r--core/gcc/PKGBUILD15
2 files changed, 14 insertions, 8 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 61010099b..28d17576b 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -33,10 +33,11 @@ mksource() {
build() {
cd ${srcdir}
ln -s binutils-$pkgver binutils
- mkdir binutils-build && cd binutils-build
+ mkdir binutils-build
+ cd binutils-build
[[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
- [[ $CARCH == "mips64el" ]] && CONFIGFLAG="--disable-nls --disable-multilib"
+ [[ $CARCH == "mips64el" ]] && CONFIGFLAG="--disable-multilib --disable-werror"
${srcdir}/binutils/configure --prefix=/usr \
--enable-ld=default --enable-gold \
@@ -44,7 +45,7 @@ build() {
--enable-shared $CONFIGFLAG
# This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
- make configure-host
+ make configure-host
make tooldir=${pkgdir}/usr
}
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index 7a2f7daa3..516fcb58c 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -4,7 +4,7 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version
-pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
+pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-go')
pkgver=4.6.0
pkgrel=3
_snapshot=4.6-20110415
@@ -14,12 +14,14 @@ license=('GPL' 'LGPL' 'custom')
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL' 'custom')
url="http://gcc.gnu.org"
-makedepends=('binutils>=2.21' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'dejagnu')
+#makedepends=('binutils>=2.21' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'dejagnu')
+makedepends=('binutils>=2.21' 'libmpc' 'cloog' 'ppl' 'dejagnu')
options=('!libtool' '!emptydirs')
source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${pkgver}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,go,testsuite}-${_snapshot}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api.${_libstdcppmanver}.man.tar.bz2
gcc_pure64.patch
+ gcc_mips64el_lib.patch
gcc-hash-style-both.patch)
md5sums=('aed037654091d1f478dfcb6e13444325'
'8d4b78c03c1d477c6cb562d42f461958'
@@ -30,6 +32,7 @@ md5sums=('aed037654091d1f478dfcb6e13444325'
'6e0032461f87ce60db6302ca652ae9d8'
'1e9fd2eaf0ee47ea64e82c48998f1999'
'4030ee1c08dd1e843c0225b772360e76'
+ '67e337993d821d72fccacbed52d48c34'
'4df25b623799b148a0703eaeec8fdf3f')
if [ -n "${_snapshot}" ]; then
@@ -49,6 +52,8 @@ build() {
if [ "${CARCH}" = "x86_64" ]; then
patch -Np1 -i ${srcdir}/gcc_pure64.patch
+ elif [ "${CARCH}" = "mips64el" ]; then
+ patch -Np0 -i ${srcdir}/gcc_mips64el_lib.patch
fi
patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
@@ -60,8 +65,8 @@ build() {
${_basedir}/configure --prefix=/usr \
--libdir=/usr/lib --libexecdir=/usr/lib \
--mandir=/usr/share/man --infodir=/usr/share/info \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
+ --with-bugurl=https://bugs.parabolagnulinux.org/ \
+ --enable-languages=c,c++,fortran,lto,objc,obj-c++ \
--enable-shared --enable-threads=posix \
--with-system-zlib --enable-__cxa_atexit \
--disable-libunwind-exceptions --enable-clocale=gnu \
@@ -131,7 +136,7 @@ package_gcc()
rm $pkgdir/usr/lib/*.so*
rm $pkgdir/usr/lib/lib{ffi,gfortran,go{,begin},objc,quadmath}.a
rm $pkgdir/usr/lib/libgfortran.spec
- rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
+ rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{finclude,include/objc}
rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/{ffi{,target}.h,quadmath{,_weak}.h}
rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1,libgfortranbegin.a}
rm -r $pkgdir/usr/lib/go