gnu: ucommon: Explicitly select C++ version.

* gnu/packages/telephony.scm (ucommon)[arguments]: Set -std=c++14.
This commit is contained in:
Lars-Dominik Braun 2023-03-31 12:00:30 +02:00
parent 670e656e08
commit 651505807e
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -297,6 +297,9 @@ (define-public ucommon
(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