From 2c4e5ecba7f28f41516360202804329cd9e39765 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 28 Aug 2014 15:21:14 +0200 Subject: [PATCH] darkplaces: test $XBPS_TARGET_MACHINE --- srcpkgs/darkplaces/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/darkplaces/template b/srcpkgs/darkplaces/template index 0fac2088c7d..9b81e5f0fdf 100644 --- a/srcpkgs/darkplaces/template +++ b/srcpkgs/darkplaces/template @@ -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