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
1 changed files with 5 additions and 0 deletions

View File

@ -3316,6 +3316,11 @@ notation and includes basic support for digital audio.")
`(#: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"