From 39666cd7881f8a09ccdc1a6ee683e9bacaf97104 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 23 Mar 2026 12:20:28 +0200 Subject: [PATCH] gnu: cli: Build with default gcc. * gnu/packages/cpp.scm (cli)[arguments]: Adjust the make-flags to set the cxx flags. [native-inputs]: Remove gcc-10. Change-Id: I288d31e2d3a9423b494823bd2f80e58b307e0ed9 --- gnu/packages/cpp.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 79d3054845..751a8c10f1 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -3252,7 +3252,8 @@ and a traversal mechanism.") (assoc-ref %build-inputs "build") "/include") (string-append "install_prefix=" - (assoc-ref %outputs "out"))) + (assoc-ref %outputs "out")) + "cxx_options=-std=c++11 -O2 -g") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch @@ -3270,7 +3271,7 @@ and a traversal mechanism.") (string-append "edge_dispatcher::" all))))) (delete 'configure)))) (native-inputs - (list build gcc-10)) + (list build)) (inputs (list libcutl)) (synopsis "C++ Command Line Interface (CLI) definition language")