From 651505807e7847b01bf6e53af8866958294d417c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 31 Mar 2023 12:00:30 +0200 Subject: gnu: ucommon: Explicitly select C++ version. * gnu/packages/telephony.scm (ucommon)[arguments]: Set -std=c++14. --- gnu/packages/telephony.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/telephony.scm') 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 -- cgit 1.4.1