Subject: [PATCH 1/2] gnu: libtorrent-rasterbar: Add CXXFLAGS.

From: Fis Trivial <[email-masked]>
Date: Fri, 6 Apr 2018 20:06:52 +0000

* gnu/packages/bittorrent.scm (libtorrent-rasterbar): Add CXXFLAGS.
---
 gnu/packages/bittorrent.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index dc051e262..b168f88e0 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -391,7 +391,8 @@ and will take advantage of multiple processor cores where possible.")
                             (assoc-ref %build-inputs "boost")
                             "/lib")
              "--enable-python-binding"
-             "--enable-tests")
+             "--enable-tests"
+             "CXXFLAGS=-std=c++11")     ; Use std::chrono instead of boost
        #:make-flags (list
                      (string-append "LDFLAGS=-Wl,-rpath="
                                     (assoc-ref %outputs "out") "/lib"))))
-- 
2.14.3