lbraun pushed a commit to branch core-updates
in repository guix.
commit 651505807e7847b01bf6e53af8866958294d417c
Author: Lars-Dominik Braun <[email protected]>
AuthorDate: Fri Mar 31 12:00:30 2023 +0200
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(+)
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