diff --git a/srcpkgs/darkplaces/template b/srcpkgs/darkplaces/template index 0fac2088c7..9b81e5f0fd 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