diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm index cbc46b32b4..8914d6d20e 100644 --- a/gnu/packages/speech.scm +++ b/gnu/packages/speech.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2017 Leo Famulari ;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2016 Kei Kebreau -;;; Copyright © 2019 Ricardo Wurmus +;;; Copyright © 2019, 2021 Ricardo Wurmus ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2021 qblade @@ -366,6 +366,11 @@ (define-public festival "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"