iptables: extensions/GNUMakefile.in use CPPFLAGS
PATCH 1/1 iptables: extensions/GNUMakefile.in use CPPFLAGS
From: "Laurence J. Lane" <[email protected]>
"All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
doesn't set it."
Signed-off-by Laurence J. Lane <[email protected]>
--- extensions/GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
extensions/GNUmakefile.in +1 -1
@@ -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 = ${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@
Signature · 1 line
1.8.1.2
Quoted 4 lines · Laurence J. Lane
From: "Laurence J. Lane" <[email protected]>
"All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in doesn't set it."
CPPFLAGS must come last because it's the uservariable that is supposed to override everything else.
Quoted 2 lines
extensions/GNUmakefile.in +1
-1-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}
PATCH v2 1/1 iptables: extensions/GNUMakefile.in use CPPFLAGS
"All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
doesn't set it."
Signed-off-by Laurence J. Lane <[email protected]>
--- extensions/GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
extensions/GNUmakefile.in +1 -1
@@ -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@
Signature · 1 line
1.8.4.rc3
Quoted 4 lines · Laurence J. Lane
"All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
doesn't set it."
Applied, thanks.