gnu: espeak: Build with the C++ 98 standard.

Fixes <https://bugs.gnu.org/37672>.
Reported by Bradley Haggerty <bradigger@gmail.com>.

* gnu/packages/speech.scm (espeak)[arguments]: Add CXXFLAGS to #:make-flags.
This commit is contained in:
Marius Bakke 2019-10-09 19:07:50 +02:00
parent e0dcd84d51
commit 636037fd0a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -69,6 +69,8 @@ (define-public espeak
(string-append "LDFLAGS=-Wl,-rpath=" (string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/lib") "/lib")
;; The package fails to build with newer C++ standards.
"CXXFLAGS=-std=c++98"
"AUDIO=pulseaudio") "AUDIO=pulseaudio")
#:tests? #f ; no check target #:tests? #f ; no check target
#:phases #:phases