diff options
Diffstat (limited to 'pigz/Pkgfile')
-rw-r--r-- | pigz/Pkgfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pigz/Pkgfile b/pigz/Pkgfile index 109df95..a3885d6 100644 --- a/pigz/Pkgfile +++ b/pigz/Pkgfile @@ -11,7 +11,10 @@ source=(http://www.zlib.net/$name/$name-$version.tar.gz) build() { cd $name-$version - make CFLAGS="$CFLAGS" + sed -i -e 's| cc| $(CC)|' Makefile + make \ + ${CTARGET:+CC=$CTARGET-gcc} \ + CFLAGS="$CFLAGS" mkdir -p $PKG$bindir $PKG$mandir/man1 install -m0755 pigz $PKG$bindir/pigz install -m0644 pigz.1 $PKG$mandir/man1 |