darktable: make this work on AMD CPUs by forcing SSE instructions.
This commit is contained in:
parent
221a750b0a
commit
0315e49a49
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'darktable'
|
# Template file for 'darktable'
|
||||||
pkgname=darktable
|
pkgname=darktable
|
||||||
version=1.4.2
|
version=1.4.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||||
homepage="http://www.darktable.org/"
|
homepage="http://www.darktable.org/"
|
||||||
|
@ -17,6 +17,12 @@ makedepends="gtk+-devel glib-devel exiv2-devel lcms2-devel
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/1.4/${pkgname}-${version}.tar.xz"
|
||||||
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
checksum="c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709"
|
||||||
|
|
||||||
|
# This needs to be built with SSE, otherwise some CPUs might crash with
|
||||||
|
# an ilegal instruction (vstmxcsr). Notably most AMD CPUs with -mtune=generic.
|
||||||
|
#
|
||||||
|
# Let's assume this has been fixed in recent gcc versions and just force SSE.
|
||||||
|
CXXFLAGS="-msse"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/lib/darktable/libdarktable.so ${DESTDIR}/usr/lib/
|
mv ${DESTDIR}/usr/lib/darktable/libdarktable.so ${DESTDIR}/usr/lib/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue