guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: infamous-plugins: Remove compiler optimizations.


From: Efraim Flashner
Subject: 06/07: gnu: infamous-plugins: Remove compiler optimizations.
Date: Sun, 23 Oct 2016 04:47:27 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit d6618941595625cde5bb3ebdaf134861613b3d7a
Author: Efraim Flashner <address@hidden>
Date:   Sat Oct 22 22:36:11 2016 +0300

    gnu: infamous-plugins: Remove compiler optimizations.
    
    * gnu/packages/audio.scm (infamous-plugins)[arguments]: Add phase
    removing built-in compiler optimizations in the source code.
---
 gnu/packages/audio.scm |   20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index d220322..633053c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -351,8 +351,24 @@ tools (analyzer, mono/stereo tools, crossovers).")
                (base32
                 "0qm3ak07vc1l3f5c3c2lq9gkfknlxwn8ks03cysw1pk8hj7dwnv6"))))
     (build-system cmake-build-system)
-    ;; There are no tests
-    (arguments `(#:tests? #f))
+    (arguments
+     `(#:tests? #f ; There are no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-compiler-flags
+           (lambda _
+             (substitute* '("src/casynth/CMakeLists.txt"
+                            "src/cheapdist/CMakeLists.txt"
+                            "src/duffer/CMakeLists.txt"
+                            "src/envfollower/CMakeLists.txt"
+                            "src/ewham/CMakeLists.txt"
+                            "src/hip2b/CMakeLists.txt"
+                            "src/lushlife/CMakeLists.txt"
+                            "src/powercut/CMakeLists.txt"
+                            "src/powerup/CMakeLists.txt"
+                            "src/stuck/CMakeLists.txt")
+                          (("-msse2 -mfpmath=sse") ""))
+             #t)))))
     (inputs
      `(("cairo" ,cairo)
        ("fftwf" ,fftwf)



reply via email to

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