darktable: build with CUSTOM_CFLAGS enabled, i.e don't build with -mtune=native.

This commit is contained in:
Juan RP 2014-11-30 17:49:42 +01:00
parent 6e3f93a30a
commit 29f4c3c0ed

View file

@ -1,8 +1,9 @@
# Template file for 'darktable'
pkgname=darktable
version=1.4.2
revision=12
revision=13
build_style=cmake
configure_args="-DCUSTOM_CFLAGS=1"
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://www.darktable.org/"
update_ignore="*%7E*"
@ -19,7 +20,3 @@ 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/AVX2/BMI/BMI2 instructions to make this work in
# all x86_64 CPUs.
CFLAGS="-mno-avx -mno-avx2 -mno-bmi -mno-bmi2"