warsow: use SSE only where possible
This commit is contained in:
parent
059a76a6b6
commit
9ac9c63784
|
@ -18,9 +18,15 @@ homepage="http://www.warsow.net/"
|
|||
distfiles="http://www.warsow.eu/warsow_${version}_sdk.tar.gz"
|
||||
checksum=ac635c654e088566d30d53e8fab21abd2d40762d7f4ab0e09faa827aac5c4f97
|
||||
|
||||
post_extract() {
|
||||
if [ "$XBPS_MACHINE" != "i686" -a "$XBPS_MACHINE" != "x86_64" ]; then
|
||||
sed -i 's/-msse2//' source/source/Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}/source/source
|
||||
make
|
||||
cd source/source
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue