summaryrefslogtreecommitdiffstats
path: root/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'bzip2')
-rw-r--r--bzip2/Pkgfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/bzip2/Pkgfile b/bzip2/Pkgfile
index e124ee2..81dbf0b 100644
--- a/bzip2/Pkgfile
+++ b/bzip2/Pkgfile
@@ -11,10 +11,10 @@ source=(http://www.bzip.org/$version/$name-$version.tar.gz bzip2.patch)
build ()
{
local makeopts=(
- ${CTARGET:+CC=${CTARGET}-gcc}
- ${CTARGET:+AR=${CTARGET}-ar}
- ${CTARGET:+RANLIB=${CTARGET}-ranlib}
- ${CTARGET:+LD=${CTARGET}-ld}
+ ${CHOST:+CC=${CHOST}-gcc}
+ ${CHOST:+AR=${CHOST}-ar}
+ ${CHOST:+RANLIB=${CHOST}-ranlib}
+ ${CHOST:+LD=${CHOST}-ld}
)
cd $name-$version;
patch -Np1 -i $SRC/$name.patch;