gnu: fcgiwrap: Fix build with newer GCCs.

* gnu/packages/web.scm (fcgiwrap)[arguments]: Add ‘fix-CFLAGS’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2019-10-09 19:20:31 +02:00
parent e65bbec98f
commit 8325e1f8c4
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 9 additions and 1 deletions

View File

@ -439,7 +439,15 @@ APIs.")
(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)