summaryrefslogtreecommitdiffstats
path: root/isomd5sum
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-02 02:29:39 +0000
committerPeter Jones <pjones@redhat.com>2005-03-02 02:29:39 +0000
commita04619e231e733ae8918ac7fefddc063c2a8b1da (patch)
treed4e32a4a82086bf349d7033618bcf6ac333adce8 /isomd5sum
parent40fd19c8bd26cadb95528e54a534f0d68b2c8188 (diff)
downloadanaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.tar.gz
anaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.tar.xz
anaconda-a04619e231e733ae8918ac7fefddc063c2a8b1da.zip
Add -D_FORTIFY_SOURCE=2 everywhere. Let's see if it actually works...
Also, make genhdlist.o build with -Wno-return-type, because rpm's headers and gcc4 don't get along.
Diffstat (limited to 'isomd5sum')
-rw-r--r--isomd5sum/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/isomd5sum/Makefile b/isomd5sum/Makefile
index b0b774cd2..8fdeaa114 100644
--- a/isomd5sum/Makefile
+++ b/isomd5sum/Makefile
@@ -1,6 +1,7 @@
include ../Makefile.inc
-CFLAGS = -g -fPIC -D_FILE_OFFSET_BITS=64 -I$(PYTHONINCLUDE) -O -Wall -Werror
+CFLAGS = -g -fPIC -D_FILE_OFFSET_BITS=64 -I$(PYTHONINCLUDE) -O -Wall -Werror \
+ -D_FORTIFY_SOURCE=2
OBJECTS = md5.o libimplantisomd5.o checkisomd5.o pyisomd5sum.c \
implantisomd5 checkisomd5
SOURCES = $(patsubst %.o,%.c,$(OBJECTS))