gnu: Boost: Build with C++14.
authorLeo Famulari <leo@famulari.name>
Tue, 4 Dec 2018 21:39:28 +0000 (16:39 -0500)
committerLeo Famulari <leo@famulari.name>
Wed, 5 Dec 2018 19:16:17 +0000 (14:16 -0500)
Some parts of Boost which are used by other Guix packages require C++14 support.

Fixes <https://bugs.gnu.org/33605>.

* gnu/packages/boost.scm (boost)[arguments]: Pass 'cxxflags=-std=c++14'
to #:make-flags.

gnu/packages/boost.scm

index b772781..f5c2c58 100644 (file)
@@ -67,6 +67,7 @@
      `(#:tests? #f
        #:make-flags
        (list "threading=multi" "link=shared"
+             "cxxflags=-std=c++14"
 
              ;; Set the RUNPATH to $libdir so that the libs find each other.
              (string-append "linkflags=-Wl,-rpath="