gnu: sorcer: Fix building on non-Intel hardware.

* gnu/packages/music.scm (sorcer)[arguments]: Add phase to remove
architecture specific build flags.
This commit is contained in:
Efraim Flashner 2017-10-26 08:36:57 +03:00
parent b1e9837a3c
commit e5af1f4af3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3316,6 +3316,11 @@ (define-public sorcer
`(#:tests? #f ; no tests included `(#:tests? #f ; no tests included
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'remove-architecture-specific-flags
(lambda _
(substitute* "CMakeLists.txt"
(("-msse2 -mfpmath=sse") ""))
#t))
(add-after 'unpack 'build-faust-sources (add-after 'unpack 'build-faust-sources
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "faust" (with-directory-excursion "faust"