void-packages/srcpkgs/iptables/patches/0503-extension_cppflags.patch

12 lines
588 B
Diff

--- extensions/GNUmakefile.in 2012-03-27 12:14:05.000000000 -0400
+++ extensions/GNUmakefile.in 2012-03-27 16:03:48.378790221 -0400
@@ -21,7 +21,7 @@
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 = ${CPPFLAGS} ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
AM_LDFLAGS = @noundef_LDFLAGS@