mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
darkplaces: test $XBPS_TARGET_MACHINE
This commit is contained in:
parent
fb6a881a9b
commit
2c4e5ecba7
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ do_configure() {
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make_build_args="DP_FS_BASEDIR=/opt/quake DP_LINK_TO_LIBJPEG=1"
|
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="
|
make_build_args+=" CFLAGS_SSE= CFLAGS_SSE2="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue