From d6618941595625cde5bb3ebdaf134861613b3d7a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 22 Oct 2016 22:36:11 +0300 Subject: 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(-) (limited to 'gnu') 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) -- cgit 1.4.1