summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-03-31 12:00:30 +0200
committerLars-Dominik Braun <lars@6xq.net>2023-03-31 13:24:48 +0200
commit651505807e7847b01bf6e53af8866958294d417c (patch)
treefded7a91753639353349a18d2a3f66bac1226693
parent670e656e08ca71b4348582ddfe26285c24dd93a1 (diff)
downloadguix-651505807e7847b01bf6e53af8866958294d417c.tar.gz
gnu: ucommon: Explicitly select C++ version.
* gnu/packages/telephony.scm (ucommon)[arguments]: Set -std=c++14.
-rw-r--r--gnu/packages/telephony.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 81621e9d4d..a93709a469 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -297,6 +297,9 @@ reimplementation.")
             (sha256 (base32
                      "1mv080rvrhyxyhgqiqr8r9jdqhg3xhfawjvfj5zgj47h59nggjba"))))
    (build-system gnu-build-system)
+   (arguments
+    ;; Does not work with std=c++17, which is the default in modern GCC versions.
+    `(#:configure-flags '("CXXFLAGS=-std=c++14")))
    (inputs (list gnutls))
    (synopsis "Common C++ framework for threaded applications")
    (description "GNU uCommon C++ is meant as a very light-weight C++ library