]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables: extensions/GNUMakefile.in use CPPFLAGS
authorLaurence J. Lane <ljlane@debian.org>
Thu, 22 Aug 2013 16:44:47 +0000 (12:44 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 Sep 2013 14:43:21 +0000 (16:43 +0200)
"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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/GNUmakefile.in

index 14e7c576ba268279881cabbfe74671de3b10c377..c5d88446c8c2377804afbde003ee76348c72bac5 100644 (file)
@@ -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@