aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-10-22 22:36:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-10-23 07:47:03 +0300
commitd6618941595625cde5bb3ebdaf134861613b3d7a (patch)
tree9447a50e7329ef6499e16c4c40d7e382b3680265
parent7ca6830482d799677030c2e1631c54754f143808 (diff)
downloadguix-d6618941595625cde5bb3ebdaf134861613b3d7a.tar
guix-d6618941595625cde5bb3ebdaf134861613b3d7a.tar.gz
gnu: infamous-plugins: Remove compiler optimizations.
* gnu/packages/audio.scm (infamous-plugins)[arguments]: Add phase removing built-in compiler optimizations in the source code.
-rw-r--r--gnu/packages/audio.scm20
1 files changed, 18 insertions, 2 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index d2203229af..633053c882 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)