calf: test $XBPS_TARGET_MACHINE

This commit is contained in:
Christian Neukirchen 2014-08-28 15:21:24 +02:00
parent 2c4e5ecba7
commit fc2671906c

View File

@ -4,7 +4,7 @@ version=0.0.19
revision=1
build_style=gnu-configure
configure_args="--enable-experimental"
if [ "$XBPS_MACHINE" = "i686" -o "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args+=" --enable-sse"
fi
hostmakedepends="pkg-config"