aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-10-26 08:36:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-10-26 08:37:40 +0300
commite5af1f4af33ae73df6661358327e9ce3eb0eb191 (patch)
treea73506edfb5539e39c40bc5c108b32bb4ff02778 /gnu
parentb1e9837a3c76345144c695a4a235e4c89b59246b (diff)
downloadguix-e5af1f4af33ae73df6661358327e9ce3eb0eb191.tar
guix-e5af1f4af33ae73df6661358327e9ce3eb0eb191.tar.gz
gnu: sorcer: Fix building on non-Intel hardware.
* gnu/packages/music.scm (sorcer)[arguments]: Add phase to remove architecture specific build flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2fd38362c2..f5df440709 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3316,6 +3316,11 @@ notation and includes basic support for digital audio.")
`(#:tests? #f ; no tests included
#: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
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "faust"