summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-05-01 19:01:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-05-01 19:01:42 +0300
commit3e0e9e16309215d377eb85a79e9a7d6e106dc516 (patch)
treeec81f6d34fe32a54d2b7f82db6bdf8c4322b4eb1 /gnu
parent2660e6a319de1404f5759fbfe45c694fe58646d6 (diff)
downloadguix-3e0e9e16309215d377eb85a79e9a7d6e106dc516.tar.gz
gnu: infamous-plugins: Patch all occurrences of compiler optimizations.
* gnu/packages/audio.scm (infamous-plugins)[arguments]: Use 'find-files'
to find all files to remove optimizations.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm13
1 files changed, 2 insertions, 11 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 61e8fa3392..d0eb4193a0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 Nils Gillmann <ng0@n0.is>
 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
@@ -569,16 +569,7 @@ based on human speech recordings.")
        (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")
+             (substitute* (find-files "." "CMakeLists.txt")
                (("-msse2 -mfpmath=sse") ""))
              #t)))))
     (inputs