darkplaces: test $XBPS_TARGET_MACHINE

This commit is contained in:
Christian Neukirchen 2014-08-28 15:21:14 +02:00
parent fb6a881a9b
commit 2c4e5ecba7
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ do_configure() {
}
do_build() {
make_build_args="DP_FS_BASEDIR=/opt/quake DP_LINK_TO_LIBJPEG=1"
if [ "$XBPS_MACHINE" != "i686" -a "$XBPS_MACHINE" != "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" != "i686" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
make_build_args+=" CFLAGS_SSE= CFLAGS_SSE2="
fi