~ubuntu-branches/ubuntu/saucy/iptables/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0502-use_cppflags.patch

  • Committer: Package Import Robot
  • Author(s): Laurence J. Lane
  • Date: 2012-03-27 09:35:10 UTC
  • mfrom: (2.1.15)
  • Revision ID: package-import@ubuntu.com-20120327093510-ebuknckmqvgmzdse
Tags: 1.4.13-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Use CPPFLAGS.
2
 
 Necessary for hardening flags.
3
 
 .
4
 
 All other Makefiles add CPPFLAGS to ${COMPILE} (automake), but GNUmakefile.in
5
 
 doesn't set it.
6
 
Author: Simon Ruderich <simon@ruderich.org>
7
 
Last-Update: 2012-03-22
8
 
 
9
 
Index: b/extensions/GNUmakefile.in
10
 
===================================================================
11
 
--- a/extensions/GNUmakefile.in 2012-01-02 12:19:09.000000000 -0500
12
 
+++ b/extensions/GNUmakefile.in 2012-03-22 18:51:47.164053625 -0400
13
 
@@ -21,7 +21,7 @@
14
 
 kinclude_CPPFLAGS := @kinclude_CPPFLAGS@
15
 
 
16
 
 AM_CFLAGS      := ${regular_CFLAGS}
17
 
-AM_CPPFLAGS     = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
18
 
+AM_CPPFLAGS     = ${CPPFLAGS} ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_builddir} -I${top_srcdir}/include ${kinclude_CPPFLAGS}
19
 
 AM_DEPFLAGS     = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
20
 
 
21
 
 ifeq (${V},)