[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: fcgiwrap: Fix build with newer GCCs.
From: |
guix-commits |
Subject: |
04/04: gnu: fcgiwrap: Fix build with newer GCCs. |
Date: |
Wed, 9 Oct 2019 13:38:57 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 8325e1f8c4ca8acff802d98887fbc1a6b467ae4c
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Oct 9 19:20:31 2019 +0200
gnu: fcgiwrap: Fix build with newer GCCs.
* gnu/packages/web.scm (fcgiwrap)[arguments]: Add ‘fix-CFLAGS’ phase.
---
gnu/packages/web.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6e89c3a..7b0bb91 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -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)