fcgiwrap: Disable -Werror in CFLAGS set by configure.
PATCH v2 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
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.
--- package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
package/fcgiwrap/fcgiwrap.mk +1 -0
@@ -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
Signature · 1 line
2.11.0
PATCH 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
Hi Thomas,
Quoted 5 lines · Thomas Claveirole
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 toAM_CFLAGS.
Please add a reference to the autobuild failure:
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/
baruch
Quoted 17 lines
Signed-off-by Thomas Claveirole <[email protected]>--- package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)package/fcgiwrap/fcgiwrap.mk +1
-0@@ -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
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -v2 cover fcgiwrap: Disable -Werror in CFLAGS set by configure.
Hi,
Quoted 3 lines
Please add a reference to the autobuild failure:
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/
Done, thanks. I also forgot to mention $(TARGET_CFLAGS) when overriding the CFLAGS for configure, this should be fixed now.
Thomas Claveirole (1):
fcgiwrap: Disable -Werror in CFLAGS set by configure.
package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.11.0
PATCH v2 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
Thus, fix
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/
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.
--- package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
package/fcgiwrap/fcgiwrap.mk +1 -0
@@ -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 $(TARGET_CFLAGS)' ifeq ($(BR2_PACKAGE_SYSTEMD),y) FCGIWRAP_DEPENDENCIES += systemd
Signature · 1 line
2.11.0
PATCH v2 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
Hello,
Quoted 1 line · Thomas Claveirole
+FCGIWRAP_CONF_OPTS += CFLAGS='-Wno-error $(TARGET_CFLAGS)'
Should be:
FCGIWRAP_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -Wno-error"
I.e:
- Use CONF_ENV, not CONF_OPTS, since we pass the original CFLAGS in CONV_ENV
- Use double quotes instead of simple quotes
- Pass your option *after* TARGET_CFLAGS.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
v3 cover fcgiwrap: Disable -Werror in CFLAGS set by configure.
Quoted 4 lines
Should be:
FCGIWRAP_CONF_ENV= CFLAGS="$(TARGET_CFLAGS) -Wno-error"
Quoted 8 lines
I.e:
- Use
CONF_ENV, notCONF_OPTS, since we pass the original CFLAGS inCONV_ENV- Use double quotes instead of simple quotes
- Pass your option *after*
TARGET_CFLAGS.
Done, thanks.
Thomas Claveirole (1):
fcgiwrap: Disable -Werror in CFLAGS set by configure.
package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.11.0
PATCH v3 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
Thus, fix
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/
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.
--- package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
package/fcgiwrap/fcgiwrap.mk +1 -0
@@ -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
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH v3 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
Hello,
Quoted 9 lines · Thomas Claveirole
Thus, fix
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/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 toAM_CFLAGS.
Quoted 4 lines
Signed-off-by Thomas Claveirole <[email protected]>--- package/fcgiwrap/fcgiwrap.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v3 1/1 fcgiwrap: Disable -Werror in CFLAGS set by configure.
In reply to Thomas ClaveiroleQuoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Claveirole <[email protected]> writes:
Thus, fix
http://autobuild.buildroot.net/results/8e0/8e04bf5a85ecd7f120bc9dedeedc891def6c46c1/
Quoted 7 lines
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 toAM_CFLAGS.Signed-off-by Thomas Claveirole <[email protected]>
Committed to 2017.02.x and 2017.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard