gnu: fcgiwrap: Fix build with newer GCCs.
* gnu/packages/web.scm (fcgiwrap)[arguments]: Add ‘fix-CFLAGS’ phase.
This commit is contained in:
parent
e65bbec98f
commit
8325e1f8c4
|
@ -439,7 +439,15 @@ (define-public fcgiwrap
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no tests included
|
||||
#:make-flags (list "CC=gcc")))
|
||||
#:make-flags (list "CC=gcc")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-CFLAGS
|
||||
;; Remove broken options unconditionally added to CFLAGS.
|
||||
(lambda _
|
||||
(substitute* "configure.ac"
|
||||
((" -Werror") ""))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
|
|
Loading…
Reference in a new issue