diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-06-14 21:24:58 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-06-14 21:24:58 +0200 |
commit | 00bd4baf7323e97c7c62d4f2f83121bbbdedf596 (patch) | |
tree | 428cfec06e2459f7b5791019314c24b3813398bf /pcr/prboom-plus | |
parent | d8b88efb5120fd091c3c7eef95408d6e20767714 (diff) | |
download | abslibre-00bd4baf7323e97c7c62d4f2f83121bbbdedf596.tar.gz abslibre-00bd4baf7323e97c7c62d4f2f83121bbbdedf596.tar.bz2 abslibre-00bd4baf7323e97c7c62d4f2f83121bbbdedf596.zip |
prboom-plus: Fix some/all illegal instructions
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/prboom-plus')
-rw-r--r-- | pcr/prboom-plus/PKGBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pcr/prboom-plus/PKGBUILD b/pcr/prboom-plus/PKGBUILD index e0555f122..c5f73e8eb 100644 --- a/pcr/prboom-plus/PKGBUILD +++ b/pcr/prboom-plus/PKGBUILD @@ -2,9 +2,16 @@ # Contributor (AUR): Frederic Bezies <fredbezies at gmail dot com> # Contributor (AUR): Valsu [arch(at)hylia.de] +# parabola changes and rationale: +# - use --disable-cpu-opt, otherwise it use -mach=native and the resulting +# binary is only meant to run on the machine that compiled it: this option +# generates SMID (SSE3, AVX, etc) instructions in a way that is impossible to +# disable it at runtime. So running it on a machine without the same extended +# instruction set generally result in illegal instructions. + pkgname=prboom-plus pkgver=2.5.1.4 -pkgrel=1 +pkgrel=2 pkgdesc='An advanced, Vanilla-compatible Doom engine based on PrBoom' url='http://prboom-plus.sourceforge.net/' arch=('x86_64' 'i686') @@ -20,7 +27,7 @@ sha256sums=('e0e2241d174839b107f1a42b191aa9895dc6749e477cbc850ad520fba2353b94') build() { cd "prboom-plus-$pkgver" - ./configure --prefix=/usr --without-dumb + ./configure --prefix=/usr --without-dumb --disable-cpu-opt make } |