[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: gnu: festival: Fix build with -fcommon.
From: |
guix-commits |
Subject: |
01/07: gnu: festival: Fix build with -fcommon. |
Date: |
Tue, 19 Oct 2021 09:24:22 -0400 (EDT) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 84f39130a5d9254d006df2bc2460711fa6116dee
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Oct 19 09:49:46 2021 +0000
gnu: festival: Fix build with -fcommon.
* gnu/packages/speech.scm (festival)[arguments]: Add phase "set-fcommon" to
add "-fcommon" to compiler flags.
---
gnu/packages/speech.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index cbc46b3..8914d6d 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
-;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
@@ -366,6 +366,11 @@ be used by the sighted.")
"config/make_system.mak")
(("/bin/sh") (which "sh"))))
#t))
+ (add-after 'unpack-and-patch-speech-tools 'set-fcommon
+ (lambda _
+ (substitute* "../speech_tools/config/rules/defaults.mak"
+ (("\\(CFLAGS\\)") "(CFLAGS) -fcommon")
+ (("\\(CXXFLAGS\\)") "(CXXFLAGS) -fcommon"))))
(add-after 'unpack 'patch-/bin/sh
(lambda _
(substitute* '("config/test_make_rules"
- branch core-updates-frozen updated (174c29a -> 727f05e), guix-commits, 2021/10/19
- 07/07: gnu: awscli: Update to 1.20.64., guix-commits, 2021/10/19
- 04/07: gnu: Add python-colorama-for-awscli., guix-commits, 2021/10/19
- 01/07: gnu: festival: Fix build with -fcommon.,
guix-commits <=
- 03/07: gnu: Add python-docutils-0.15., guix-commits, 2021/10/19
- 02/07: gnu: python-s3transfer: Update to 0.5.0., guix-commits, 2021/10/19
- 06/07: gnu: python-boto3: Update to 1.18.64., guix-commits, 2021/10/19
- 05/07: gnu: python-botocore: Update to 1.21.64., guix-commits, 2021/10/19