Package: g2 / 0.72-6

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
LastChanged: Sun, 10 Nov 2013 08:12:07 +0100
Description: Providing CFLAGS from outside overrides CFLAGS setting
 completely whic leads to build failure.  So rather provide DEBCFLAGS
 which is added to CFLAGS

--- a/Makefile.in
+++ b/Makefile.in
@@ -22,7 +22,7 @@ INCDIR = @prefix@/include
 SHELL = /bin/sh
 
 CC           = @CC@
-CFLAGS       = -I./src @CFLAGS@ @DEFS@
+CFLAGS       = -I./src @CFLAGS@ @DEFS@ $(DEBCFLAGS)
 INSTALL      = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 FIND         = @FIND@