snort: fix build with CONFIG_PKG_CHECK_FORMAT_SECURITY 1470/head
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Jun 2015 15:26:37 +0000 (17:26 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Jun 2015 15:29:22 +0000 (17:29 +0200)
commiteaf46527608365e5c10a94ecbbbb865b72282ef8
tree37baa6444a1285f584850267102b9f195127187b
parent3788dd697b642c09eb6fb868e07b045453ab60d1
snort: fix build with CONFIG_PKG_CHECK_FORMAT_SECURITY

The configure script incorrectly mangles `CFLAGS` by attempting to remove
`-Werror` from it, thus turning `-Werror=format-security` into just
`=format-security` which will cause subsequent autoconf tests to fail.

Patch out the custom `CFLAGS` mangling to fix the build.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
net/snort/Makefile
net/snort/patches/100-autoconf-fixes.patch [new file with mode: 0644]