From 6dff495580a526cea7df223dd3bc34d81de3d58e Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Wed, 6 Jan 2016 23:04:14 +0800 Subject: gnu: zita-resampler: Drop the '-march=native' optimization. * gnu/packages/audio.scm (zita-resampler)[source]: Add snippet. --- gnu/packages/audio.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index df1f67bddd..7cdf586d1e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1881,6 +1881,11 @@ (define-public zita-resampler "http://kokkinizita.linuxaudio.org" "/linuxaudio/downloads/zita-resampler-" version ".tar.bz2")) + (snippet + ;; Don't optimize for a specific processor architecture. + '(substitute* '("apps/Makefile" "libs/Makefile") + (("^CXXFLAGS \\+= -march=native") ""))) + (modules '((guix build utils))) (sha256 (base32 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq")))) -- cgit v1.2.3