From e5af1f4af33ae73df6661358327e9ce3eb0eb191 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 26 Oct 2017 08:36:57 +0300 Subject: gnu: sorcer: Fix building on non-Intel hardware. * gnu/packages/music.scm (sorcer)[arguments]: Add phase to remove architecture specific build flags. --- gnu/packages/music.scm | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit 1.4.1