Patchwork [v2] iptables: extensions/GNUMakefile.in use CPPFLAGS

login
register
mail settings
Submitter Laurence J. Lane
Date Aug. 22, 2013, 4:44 p.m.
Message ID <1377189887-12537-1-git-send-email-ljlane@debian.org>
Download mbox | patch
Permalink /patch/269105/
State Accepted
Headers show

Comments

Laurence J. Lane - Aug. 22, 2013, 4:44 p.m.
"All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
 doesn't set it."

http://bugs.debian.org/665286

Signed-off-by: Laurence J. Lane <ljlane@debian.org>
---
 extensions/GNUmakefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Pablo Neira - Sept. 27, 2013, 2:44 p.m.
On Thu, Aug 22, 2013 at 12:44:47PM -0400, Laurence J. Lane wrote:
> "All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
>  doesn't set it."
> 
> http://bugs.debian.org/665286

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 14e7c57..c5d8844 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -21,7 +21,7 @@  regular_CPPFLAGS   = @regular_CPPFLAGS@
 kinclude_CPPFLAGS  = @kinclude_CPPFLAGS@
 
 AM_CFLAGS       = ${regular_CFLAGS}
-AM_CPPFLAGS     = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
+AM_CPPFLAGS     = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS} ${CPPFLAGS}
 AM_DEPFLAGS     = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
 AM_LDFLAGS      = @noundef_LDFLAGS@