diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:30:07 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:10 +0100 |
| commit | 56a1addaeddda66a7f0b60ff46c10e8f3d0edabd (patch) | |
| tree | 061e5bfd23f9aedf059f7761ca63aca2d890c233 | |
| parent | 23edce641d88eb4e4aa5d88a1184771844761913 (diff) | |
gnu: cbehave: Fix build with gcc@14.
Fixes guix/guix#1563
* gnu/packages/check.scm (cbehave): [arguments] <configure-flags>:
Provide CFLAGS which salient fails on warning of implicit function
declaration.
Change-Id: I162bfa41bcf1a0c9d409fefa44fe302612888220
| -rw-r--r-- | gnu/packages/check.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 6058a8e692..26ba096aaf 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -707,6 +707,8 @@ a multi-paradigm automated test framework for C++ and Objective-C.") (license license:boost1.0))) (define-public cbehave + ;; XXX: The last time updated on <2013-07-12>, the only user is tinydir + ;; package. (let ((commit "5deaea0eaaf52f1c5ccdac0c68c003988f348fb4") (revision "1")) (package @@ -733,7 +735,10 @@ a multi-paradigm automated test framework for C++ and Objective-C.") (build-system gnu-build-system) (arguments (list - #:configure-flags #~(list "--enable-shared" "--disable-static") + #:configure-flags + #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration" + "--enable-shared" + "--disable-static") #:phases #~(modify-phases %standard-phases (add-before 'bootstrap 'rename-configure.in |
