GNU bug report logs -
#63751
[PATCH 0/3] zita-alsa-pcmi: remove -march=native, fix cross-build, and use new style.
Previous Next
Reported by: Z572 <873216071 <at> qq.com>
Date: Sat, 27 May 2023 12:14:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 63751 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/audio.scm (zita-alsa-pcmi): Do not build with "-march=native".
[arguments]<#:phases>: remove '-march=native' form source/Makefile.
[properties]: New field.
---
gnu/packages/audio.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 58a981b2fe..6a24c5b9c6 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -44,6 +44,7 @@
;;; Copyright © 2023 David Thompson <dthompson2 <at> worcester.edu>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus <at> gmail.com>
;;; Copyright © 2023 Gabriel Wicki <gabriel <at> erlikon.ch>
+;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4466,7 +4467,8 @@ (define-public zita-alsa-pcmi
(lambda _
(substitute* "source/Makefile"
(("ldconfig") "true")
- (("^LIBDIR =.*") "LIBDIR = lib\n"))
+ (("^LIBDIR =.*") "LIBDIR = lib\n")
+ (("CXXFLAGS \\+= -march=native") ""))
(chdir "source")
#t))
(add-after 'install 'install-symlink
@@ -4479,6 +4481,7 @@ (define-public zita-alsa-pcmi
(delete 'configure))))
(inputs
(list alsa-lib fftw))
+ (properties `((tunable? . #t)))
(home-page "https://kokkinizita.linuxaudio.org")
(synopsis "C++ wrapper around the ALSA API")
(description
--
2.40.1
This bug report was last modified 1 year and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.