summaryrefslogtreecommitdiff
path: root/cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD')
-rw-r--r--cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD b/cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD
index 8ecacb3..290a050 100644
--- a/cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD
+++ b/cross-mips64el-unknown-linux-gnu-gcc1/PKGBUILD
@@ -10,7 +10,9 @@ pkgver=4.5.3
pkgrel=1
pkgdesc="The GNU C Compiler for $_target stage1"
arch=(i686 x86_64)
+license=(GPL)
makedepends=("cross-${_target}-binutils")
+options=(!strip)
source=(http://ftp.gnu.org/gnu/$_pkgname/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.bz2)
build() {
@@ -19,10 +21,11 @@ build() {
unset CFLAGS CXXFLAGS
- mkdir build
+ [[ $NOEXTRACT -eq 1 ]] || mkdir build
cd build
- ../$_pkgname-$pkgver/configure \
+# No bindir
+ [[ $NOEXTRACT -eq 1 ]] || ../$_pkgname-$pkgver/configure \
--prefix=$_sysroot \
--target=$_target \
--disable-bootstrap \