diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-16 14:22:25 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-16 14:22:25 -0300 |
commit | 4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86 (patch) | |
tree | 78b34101c4588bdcd7172caee7fb17a3ec9586f9 /cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD | |
parent | 841b15b36a632fca19a37f59928c280392590a9c (diff) | |
download | abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.tar.gz abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.tar.bz2 abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.zip |
remove unused cross pkgs
Diffstat (limited to 'cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD')
-rw-r--r-- | cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD b/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD deleted file mode 100644 index e4b91c652..000000000 --- a/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Contributor: Vojtech Horky <vojta . horky at-symbol seznam . cz> -_pkgname=gcc -_target="mips64el-unknown-linux-gnu" -_sysroot="/usr/lib/cross-${_target}" -export PATH=${_sysroot}/bin:/usr/bin/cross/${_target}:$PATH - -pkgname=cross-${_target}-gcc -pkgver=4.6.2 -pkgrel=1 -pkgdesc="The GNU Compiler Collection for the MIPS/Loongson2f architecture" -url="http://www.gnu.org/software/binutils/" -arch=('i686' 'x86_64') -license=('GPL') -#depends=('libmpc' 'sh' "cross-mips64el-linux-gnu-gcc-base" "cross-${_target}-binutils" "cross-${_target}-glibc" 'cloog' 'ppl') -depends=('libmpc' 'sh' "cross-${_target}-binutils" 'cloog' 'ppl') -options=('!ccache' '!distcc' '!emptydirs' '!libtool' '!strip') -source=("ftp://ftp.gnu.org/gnu/gcc/gcc-${pkgver}/${_pkgname}-core-${pkgver}.tar.bz2") -md5sums=('780f614ab18c7a9066dec6387d7490b2') - -build() { - cd ${srcdir}/${_pkgname}-${pkgver} - - # -march=x86-64 and -mtune=generic don't work on mips64el, we - # also want to use -mfix-loongson2f-nop. - export CFLAGS_FOR_TARGET="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop" - export CXXFLAGS_FOR_TARGET="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop" - - ./configure \ - "--prefix=${_sysroot}" \ - "--bindir=/usr/bin" "--program-prefix=${_target}-" \ - "--with-sysroot=${_sysroot}" \ - "--target=${_target}" "--build=$CHOST" "--host=$CHOST" \ - --enable-shared \ - --with-gnu-as --with-gnu-ld \ - --disable-nls --disable-threads \ - --enable-languages=c \ - --disable-multilib --disable-libgcj \ - --enable-cloog-backend=isl -# --enable-languages=c,c++,lto,fortran,objc,obj-c++ \ - make all # -gcc "inhibit_libc=true" -} - -package() { - cd ${srcdir}/${_pkgname}-${pkgver} - - make DESTDIR=${pkgdir} install # -gcc - - msg "Removing duplicit files..." - # remove these files as they are already in the system - # (with native gcc) - rm -Rf ${pkgdir}${_sysroot}/{man,info} - # remove conflicting binaries - find ${pkgdir}/usr/bin/ -type f -not -name "${_target}-*" -delete - - msg "Creating out-of-path executables..." - # symlink executables to single directory with no-arch-prefix name - mkdir -p ${pkgdir}/usr/bin/cross/${_target}/; - cd ${pkgdir}/usr/bin/cross/${_target}/; - for bin in ${pkgdir}/usr/bin/${_target}-*; do - bbin=`basename "$bin"`; - ln -s "/usr/bin/${bbin}" `echo "$bbin" | sed "s#^${_target}-##"`; - done -} |