aboutsummaryrefslogtreecommitdiff
path: root/package/fcgiwrap
diff options
context:
space:
mode:
authorGravatar Thomas Claveirole <thomas.claveirole@green-communications.fr>2017-06-19 18:26:05 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-19 21:21:18 +0200
commit6a20a98f4b5e576b7c3dc844951b0153963b739a (patch)
tree0ea6489a7ceef8dc31aee7283e223740a35b99fb /package/fcgiwrap
parent0f575dd1e3be98ae66a35d527b922b3dc7f1a099 (diff)
downloadbuildroot-6a20a98f4b5e576b7c3dc844951b0153963b739a.tar.gz
buildroot-6a20a98f4b5e576b7c3dc844951b0153963b739a.tar.bz2
fcgiwrap: disable -Werror in CFLAGS
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. Fixes: http://autobuild.buildroot.net/results/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/ Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fcgiwrap')
-rw-r--r--package/fcgiwrap/fcgiwrap.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/fcgiwrap/fcgiwrap.mk b/package/fcgiwrap/fcgiwrap.mk
index dd74c1ef72..62c4c1369d 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_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error"
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
FCGIWRAP_DEPENDENCIES += systemd