summary refs log tree commit diff
diff options
context:
space:
mode:
authorFis Trivial <ybbs.daans@hotmail.com>2018-04-06 20:06:52 +0000
committerLudovic Courtès <ludo@gnu.org>2018-04-11 01:03:46 +0200
commit395541b0182f828103fc7f9edec2bb59616bb112 (patch)
tree4e48c893e55e0b6a0bf1d1efe4d2c33ba8a279f2
parent0927b5bed6ca3e64e7f2eb5cf4c5daf2b99d3310 (diff)
downloadguix-395541b0182f828103fc7f9edec2bb59616bb112.tar.gz
gnu: libtorrent-rasterbar: Add CXXFLAGS.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar): Add CXXFLAGS.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/bittorrent.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index dc051e2627..b168f88e08 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"))))