Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] fcgiwrap: Disable -Werror in CFLAGS set by configure.
@ 2017-06-19 13:25 Thomas Claveirole
  2017-06-19 13:34 ` Baruch Siach
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Claveirole @ 2017-06-19 13:25 UTC (permalink / raw)
  To: buildroot

fcgiwrap's configure script appends -Werror to AM_CFLAGS, then use it
to build the package.  This is an issue when Buildroot supports a new
compiler version and this version makes some warnings appear.
Luckily, one can provide CFLAGS=-Wno-error to the configure script so
it appends -Wno-error to AM_CFLAGS.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
---
 package/fcgiwrap/fcgiwrap.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/fcgiwrap/fcgiwrap.mk b/package/fcgiwrap/fcgiwrap.mk
index dd74c1ef72..c080a1ae49 100644
--- a/package/fcgiwrap/fcgiwrap.mk
+++ b/package/fcgiwrap/fcgiwrap.mk
@@ -10,6 +10,7 @@ FCGIWRAP_DEPENDENCIES = host-pkgconf libfcgi
 FCGIWRAP_LICENSE = MIT
 FCGIWRAP_LICENSE_FILES = COPYING
 FCGIWRAP_AUTORECONF = YES
+FCGIWRAP_CONF_OPTS += CFLAGS=-Wno-error
 
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
 FCGIWRAP_DEPENDENCIES += systemd
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-25 22:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 13:25 [Buildroot] [PATCH 1/1] fcgiwrap: Disable -Werror in CFLAGS set by configure Thomas Claveirole
2017-06-19 13:34 ` Baruch Siach
2017-06-19 13:59   ` [Buildroot] [PATCH v2 0/1] " Thomas Claveirole
2017-06-19 13:59     ` [Buildroot] [PATCH v2 1/1] " Thomas Claveirole
2017-06-19 15:40       ` Thomas Petazzoni
2017-06-19 16:26         ` [Buildroot] [PATCH v3 0/1] " Thomas Claveirole
2017-06-19 16:26           ` [Buildroot] [PATCH v3 1/1] " Thomas Claveirole
2017-06-19 19:30             ` Thomas Petazzoni
2017-06-25 22:30             ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox