gnu: infamous-plugins: Remove compiler optimizations.

* gnu/packages/audio.scm (infamous-plugins)[arguments]: Add phase
removing built-in compiler optimizations in the source code.
master
Efraim Flashner 2016-10-22 22:36:11 +03:00
parent 7ca6830482
commit d661894159
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 18 additions and 2 deletions

View File

@ -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)