gnu: espeak: Build with the C++ 98 standard.
authorMarius Bakke <mbakke@fastmail.com>
Wed, 9 Oct 2019 17:07:50 +0000 (19:07 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Wed, 9 Oct 2019 17:09:42 +0000 (19:09 +0200)
Fixes <https://bugs.gnu.org/37672>.
Reported by Bradley Haggerty <bradigger@gmail.com>.

* gnu/packages/speech.scm (espeak)[arguments]: Add CXXFLAGS to #:make-flags.

gnu/packages/speech.scm

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