diff --git a/srcpkgs/xonotic/template b/srcpkgs/xonotic/template index 28b07bad292..dc46a26f911 100644 --- a/srcpkgs/xonotic/template +++ b/srcpkgs/xonotic/template @@ -18,7 +18,7 @@ depends="desktop-file-utils xonotic-data>=${version}" do_build() { make_build_args="DP_FS_BASEDIR=/usr/share/xonotic/ 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 echo $make_build_args