From 29e255ca8362212b1a325dc904dd0f2a95140a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Wed, 6 Jan 2016 23:23:26 +0800 Subject: [PATCH] gnu: zita-convolver: Drop the '-march=native' optimization. * gnu/packages/audio.scm (zita-convolver)[source]: Add snippet. --- gnu/packages/audio.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 7cdf586d1e..ebae5d57d9 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1839,6 +1839,11 @@ result.") "http://kokkinizita.linuxaudio.org" "/linuxaudio/downloads/zita-convolver-" version ".tar.bz2")) + (snippet + ;; Don't optimize for a specific processor architecture. + '(substitute* "libs/Makefile" + (("^CXXFLAGS \\+= -march=native") ""))) + (modules '((guix build utils))) (sha256 (base32 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))