darktable: disable BMI/BMI2 insns, which are only available on Intel Haswell CPUs.
This commit is contained in:
parent
a2fc96ab69
commit
fb8780ad41
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'darktable'
|
||||
pkgname=darktable
|
||||
version=1.4.2
|
||||
revision=10
|
||||
revision=11
|
||||
build_style=cmake
|
||||
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
|
||||
homepage="http://www.darktable.org/"
|
||||
|
@ -19,6 +19,6 @@ only_for_archs="i686 x86_64" # too much SSE2 stuff all over
|
|||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
||||
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
||||
|
||||
# Do not generate AVX instructions, which might happen with -mtune=generic on
|
||||
# Intel CPUs. This avoids the vstmxcsr instruction which is AVX specific.
|
||||
CFLAGS="-mno-avx -mno-avx2"
|
||||
# Do not generate AVX/AVX2/BMI/BMI2 instructions to make this work in
|
||||
# all x86_64 CPUs.
|
||||
CFLAGS="-mno-avx -mno-avx2 -mno-bmi -mno-bmi2"
|
||||
|
|
Loading…
Reference in a new issue