xonotic: use SSE only where possible
This commit is contained in:
parent
822d1a666f
commit
eb95469354
|
@ -17,12 +17,14 @@ makedepends="gmp-devel MesaLib-devel SDL-devel libcurl-devel alsa-lib-devel
|
||||||
depends="desktop-file-utils xonotic-data>=${version}"
|
depends="desktop-file-utils xonotic-data>=${version}"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" \
|
make_build_args="DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1"
|
||||||
DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 cl-release
|
if [ "$XBPS_MACHINE" != "i686" -a "$XBPS_MACHINE" != "x86_64" ]; then
|
||||||
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" \
|
make_build_args+=" CFLAGS_SSE= CFLAGS_SSE2="
|
||||||
DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sdl-release
|
fi
|
||||||
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" \
|
echo $make_build_args
|
||||||
DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sv-release
|
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" $make_build_args cl-release
|
||||||
|
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" $make_build_args sdl-release
|
||||||
|
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" $make_build_args sv-release
|
||||||
|
|
||||||
cd source/d0_blind_id
|
cd source/d0_blind_id
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user