xonotic: test $XBPS_TARGET_MACHINE
This commit is contained in:
parent
61e08790a9
commit
96acf949e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue