1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: add GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2016-08-23
Index: png2html-1.1/Makefile
===================================================================
--- png2html-1.1.orig/Makefile
+++ png2html-1.1/Makefile
@@ -1,12 +1,12 @@
# Makefile for png2html, (c) 1999 Geoff Holden
CC = gcc
-CFLAGS = -O2 -Wall -lpng -lgd
+CFLAGS += -O2 -Wall -lpng -lgd
all: png2html
png2html:
- $(CC) -o png2html png2html.c $(CFLAGS)
+ $(CC) -o png2html png2html.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
clean:
rm -f *~ png2html
|