mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
b1e9837a3c
commit
e5af1f4af3
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue