~ubuntu-branches/debian/stretch/tcl-fitstcl/stretch

« back to all changes in this revision

Viewing changes to debian/patches/propagate_flags.patch

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2015-06-10 17:35:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150610173543-37jifpt0bjuocrr0
Tags: 2.4-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Description: Propagate CPPFLAGS and LDFLAGS for hardening
3
3
--- a/Makefile.in
4
4
+++ b/Makefile.in
5
 
@@ -90,7 +90,7 @@
 
5
@@ -89,7 +89,7 @@
6
6
 
7
7
 
8
8
 .c.o:
9
 
-       ${CC} -c ${CFLAGS} ${DEFS} ${IFLAGS} $<
10
 
+       ${CC} -c ${CPPFLAGS} ${CFLAGS} ${DEFS} ${IFLAGS} $<
 
9
-       ${CC} -c -o ${<D}/${@F} ${CFLAGS} ${DEFS} ${IFLAGS} $<
 
10
+       ${CC} -c -o ${<D}/${@F} ${CPPFLAGS} ${CFLAGS} ${DEFS} ${IFLAGS} $<
11
11
 
12
12
 #
13
13
 # $Log: Makefile.in,v $
14
14
--- a/configure.in
15
15
+++ b/configure.in
16
 
@@ -289,7 +289,7 @@
 
16
@@ -235,7 +235,7 @@
17
17
 
18
18
 # Shared library section
19
19
 #-------------------------------------------------------------------------------