summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
Diffstat (limited to 'cross')
-rw-r--r--cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD3
-rw-r--r--cross/cross-mips64el-unknown-linux-gnu-glibc/PKGBUILD30
2 files changed, 17 insertions, 16 deletions
diff --git a/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD b/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD
index f860a8c5d..2f3f65cff 100644
--- a/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD
+++ b/cross/cross-mips64el-unknown-linux-gnu-gcc/PKGBUILD
@@ -2,6 +2,7 @@
_pkgname=gcc
_target="mips64el-unknown-linux-gnu"
_sysroot="/usr/lib/cross-${_target}"
+export PATH=${_sysroot}/bin:/usr/bin/cross/${_target}:/usr/lib/cross-mips64el-linux-gnu/libexec/gcc/mips64el-linux-gnu/4.6.2:$PATH
pkgname=cross-${_target}-gcc
pkgver=4.6.2
@@ -10,7 +11,7 @@ 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-${_target}-binutils" "cross-${_target}-glibc" 'cloog' 'ppl')
+#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")
diff --git a/cross/cross-mips64el-unknown-linux-gnu-glibc/PKGBUILD b/cross/cross-mips64el-unknown-linux-gnu-glibc/PKGBUILD
index b0cf35a32..62328c4bd 100644
--- a/cross/cross-mips64el-unknown-linux-gnu-glibc/PKGBUILD
+++ b/cross/cross-mips64el-unknown-linux-gnu-glibc/PKGBUILD
@@ -218,21 +218,21 @@ package() {
# libpthread-${pkgver}.so
# libthread_db-1.0.so
- cd $pkgdir${_sysroot}
- strip $STRIP_BINARIES sbin/{ldconfig,sln} \
- usr/bin/{gencat,getconf,getent,iconv,locale,localedef} \
- usr/bin/{makedb,pcprofiledump,pldd,rpcgen,sprof} \
- usr/lib/getconf/* \
- usr/sbin/{iconvconfig,nscd}
- [[ $CARCH = "i686" ]] && strip $STRIP_BINARIES usr/bin/lddlibc4
-
- strip $STRIP_STATIC usr/lib/*.a
-
- strip $STRIP_SHARED lib/{libanl,libBrokenLocale,libcidn,libcrypt}-${pkgver}.so \
- lib/libnss_{compat,db,dns,files,hesiod,nis,nisplus}-${pkgver}.so \
- lib/{libdl,libm,libnsl,libresolv,librt,libutil}-${pkgver}.so \
- lib/{libmemusage,libpcprofile,libSegFault}.so \
- usr/lib/{pt_chown,{audit,gconv}/*.so}
+# cd $pkgdir${_sysroot}
+# strip $STRIP_BINARIES sbin/{ldconfig,sln} \
+# usr/bin/{gencat,getconf,getent,iconv,locale,localedef} \
+# usr/bin/{makedb,pcprofiledump,pldd,rpcgen,sprof} \
+# usr/lib/getconf/* \
+# usr/sbin/{iconvconfig,nscd}
+# [[ $CARCH = "i686" ]] && strip $STRIP_BINARIES usr/bin/lddlibc4
+
+# strip $STRIP_STATIC usr/lib/*.a
+
+# strip $STRIP_SHARED lib/{libanl,libBrokenLocale,libcidn,libcrypt}-${pkgver}.so \
+# lib/libnss_{compat,db,dns,files,hesiod,nis,nisplus}-${pkgver}.so \
+# lib/{libdl,libm,libnsl,libresolv,librt,libutil}-${pkgver}.so \
+# lib/{libmemusage,libpcprofile,libSegFault}.so \
+# usr/lib/{pt_chown,{audit,gconv}/*.so}
msg "Creating out-of-path executables..."
# symlink executables to single directory with no-arch-prefix name