mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
23edce641d
commit
56a1addaed
1 changed files with 6 additions and 1 deletions
|
@ -707,6 +707,8 @@ a multi-paradigm automated test framework for C++ and Objective-C.")
|
||||||
(license license:boost1.0)))
|
(license license:boost1.0)))
|
||||||
|
|
||||||
(define-public cbehave
|
(define-public cbehave
|
||||||
|
;; XXX: The last time updated on <2013-07-12>, the only user is tinydir
|
||||||
|
;; package.
|
||||||
(let ((commit "5deaea0eaaf52f1c5ccdac0c68c003988f348fb4")
|
(let ((commit "5deaea0eaaf52f1c5ccdac0c68c003988f348fb4")
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
|
@ -733,7 +735,10 @@ a multi-paradigm automated test framework for C++ and Objective-C.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:configure-flags #~(list "--enable-shared" "--disable-static")
|
#:configure-flags
|
||||||
|
#~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
|
||||||
|
"--enable-shared"
|
||||||
|
"--disable-static")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'bootstrap 'rename-configure.in
|
(add-before 'bootstrap 'rename-configure.in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue