1 Description: improve the GCC hardening, fixing Makefile.am.
2 Author: Joao Eriberto Mota Filho <eriberto@debian.org>
3 Last-Update: 2016-11-20
4 Index: scrot-0.8/Makefile.am
5 ===================================================================
6 --- scrot-0.8.orig/Makefile.am
7 +++ scrot-0.8/Makefile.am
8 @@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign
9 # A list of all the files in the current directory which can be regenerated
10 MAINTAINERCLEANFILES = Makefile.in scrot.spec
12 -LDFLAGS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
13 +AM_LDFLAGS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
14 INCLUDES = -I/usr/X11R6/include \
15 $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I.
17 Index: scrot-0.8/src/Makefile.am
18 ===================================================================
19 --- scrot-0.8.orig/src/Makefile.am
20 +++ scrot-0.8/src/Makefile.am
22 # A list of all the files in the current directory which can be regenerated
23 -MAINTAINERCLEANFILES = Makefile.in
24 +MAINTAINERCLEANFILES = Makefile.in
26 -LDFLAGS = -L/usr/X11R6/lib
27 +AM_LDFLAGS = -L/usr/X11R6/lib
28 INCLUDES = -g -O3 -Wall -I/usr/X11R6/include \
29 $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \
30 -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@