darkplaces: test $XBPS_TARGET_MACHINE
This commit is contained in:
parent
fb6a881a9b
commit
2c4e5ecba7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue