From 36329e5beaf0274d1c9edf68d2cde2956b4c5770 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Fri, 1 May 2009 22:28:39 +0200 Subject: wdd: Fix warnings when builded with gcc-4.3 and without diet (FORTIFY_SOURCE) --- wd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wd/Makefile b/wd/Makefile index f355d00..6f1fa72 100644 --- a/wd/Makefile +++ b/wd/Makefile @@ -3,7 +3,7 @@ include ../include/rules.make CFLAGS+=-fomit-frame-pointer %: %.c - $(CC) $(LDFLAGS) $(CFLAGS) -W -Wall -o $@ $< + $(CC) $(LDFLAGS) $(CFLAGS) -W -Wall -U_FORTIFY_SOURCE -o $@ $< $(STRIP) -x --strip-unneeded -R .comment -R .note $@ $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true -if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi -- cgit v1.2.3