diff options
Diffstat (limited to 'cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD')
-rw-r--r-- | cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD b/cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD deleted file mode 100644 index 2eb018125..000000000 --- a/cross/cross-mips64el-unknown-linux-gnu-gcc-core-shared/PKGBUILD +++ /dev/null @@ -1,91 +0,0 @@ -# Contributor: Nicolás Reynolds <fauno@parabola.nu> -# Contributor (mipsel): Vojtech Horky <vojta . horky at-symbol seznam . cz> -# This package is used to bootstrap a cross glibc and full featured cross gcc -# Change the following variables to match your target -_pkgname=gcc -_target="mips64el-unknown-linux-gnu" -_sysroot="/usr/${_target}" -_ARCH=mips - -unset LDFLAGS CFLAGS CXXFLAGS - -pkgname=cross-${_target}-gcc-core-shared -pkgver=4.6.2 -pkgrel=8 -pkgdesc="The GNU Compiler Collection for the MIPS/Loongson2f architecture (shared version)" -url="http://www.gnu.org/software/binutils/" -arch=('i686' 'x86_64') -license=('GPL') -depends=('libmpc' 'sh' "${_target}-binutils" 'cloog' 'ppl') -makedepends=("cross-${_target}-glibc-headers" - "cross-${_target}-gcc-core") -options=('!ccache' '!distcc' '!emptydirs' '!libtool' '!strip') -source=("ftp://ftp.gnu.org/gnu/gcc/gcc-${pkgver}/${_pkgname}-${pkgver}.tar.bz2") -md5sums=('028115c4fbfb6cfd75d6369f4a90d87e') - -build() { - cd ${srcdir} - mkdir gcc-build && cd gcc-build - mkdir ${_target} - -# Copy headers for libgcc2 - cp -av /usr/${_target}/usr/include ${_target}/include - - CC_FOR_BUILD=${CHOST}-gcc \ - CFLAGS=" -pipe " \ - LDFLAGS= \ - ${srcdir}/${_pkgname}-${pkgver}/configure \ - --build=${CHOST} \ - --host=${CHOST} \ - --target=${_target} \ - --prefix=/usr \ - --with-local-prefix=${_sysroot} \ - --disable-multilib \ - --disable-libmudflap \ - --with-sysroot=${_sysroot} \ - --enable-shared \ - --with-arch=loongson2f \ - --with-abi=n32 \ - --enable-__cxa_atexit \ - --with-gmp \ - --with-mpfr \ - --with-mpc \ - --with-ppl \ - --enable-cloog-backend=isl \ - --with-libelf \ - --enable-lto \ - --enable-target-optspace \ - --disable-libgomp \ - --disable-libmudflap \ - --disable-nls \ - --enable-languages=c - - msg2 "Configuring gcc and libgcc" - make ${MAKEFLAGS} configure-gcc configure-libcpp configure-build-libiberty - - msg2 "Making libcpp and libiberty" - make ${MAKEFLAGS} all-libcpp all-build-libiberty - - msg2 "Configuring libdecnumber" - make ${MAKEFLAGS} configure-libdecnumber - - msg2 "Making libdecnumber" - make ${MAKEFLAGS} -C libdecnumber libdecnumber.a - - msg2 "Making mvars" - make ${MAKEFLAGS} -C gcc libgcc.mvars - -# Remove -lc since we don't have it yet - sed -r -i -e 's@-lc@@g' gcc/libgcc.mvars - - msg2 "Making gcc and libgcc" - make ${MAKEFLAGS} all-gcc all-target-libgcc -} - -package() { - cd ${srcdir}/${_pkgname}-build - - make ${MAKEFLAGS} DESTDIR=${pkgdir} install-gcc install-target-libgcc - - rm -r ${pkgdir}/usr/share -} |