guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Efraim Flashner
Subject: 01/01: gnu: sorcer: Fix building on non-Intel hardware.
Date: Thu, 26 Oct 2017 02:17:00 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit e5af1f4af33ae73df6661358327e9ce3eb0eb191
Author: Efraim Flashner <address@hidden>
Date:   Thu Oct 26 08:36:57 2017 +0300

    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 2fd3836..f5df440 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]