diff options
author | Peter Jones <pjones@redhat.com> | 2005-03-02 02:29:39 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2005-03-02 02:29:39 +0000 |
commit | a04619e231e733ae8918ac7fefddc063c2a8b1da (patch) | |
tree | d4e32a4a82086bf349d7033618bcf6ac333adce8 /loader2/Makefile | |
parent | 40fd19c8bd26cadb95528e54a534f0d68b2c8188 (diff) | |
download | anaconda-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 'loader2/Makefile')
-rw-r--r-- | loader2/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader2/Makefile b/loader2/Makefile index ee15e67df..1825a51d1 100644 --- a/loader2/Makefile +++ b/loader2/Makefile @@ -36,8 +36,8 @@ HWLIBS += -lpci endif DEBUG = -ggdb -COPTS = $(DEBUG) -Os -Wall -DUSE_LOGDEV -DVERSION='"$(VERSION)"' -Werror -CFLAGS = $(COPTS) -ffunction-sections -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LIBIO_H +COPTS = $(DEBUG) -Os -Wall -DUSE_LOGDEV -DVERSION='"$(VERSION)"' -Werror -D_FORTIFY_SOURCE=2 +CFLAGS = $(COPTS) -ffunction-sections -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LIBIO_H STATIC = -static REALCC=gcc @@ -148,7 +148,7 @@ install: all install -m 644 font.bgf.gz $(DESTDIR)/$(RUNTIMEDIR)/loader dirbrowser: dirbrowser.c - gcc -DSTANDALONE -Wall -Werror -ggdb -o dirbrowser dirbrowser.c -lnewt -lslang + gcc -DSTANDALONE -D_FORTIFY_SOURCE=2 -Wall -Werror -ggdb -o dirbrowser dirbrowser.c -lnewt -lslang ifeq (.depend,$(wildcard .depend)) include .depend |