[Buildroot] [PATCH v2 1/1] fcgiwrap: Disable -Werror in CFLAGS set by configure.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jun 19 15:40:32 UTC 2017
Hello,
On Mon, 19 Jun 2017 15:59:53 +0200, Thomas Claveirole wrote:
> +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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list