aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:28:39 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:28:39 +0200
commit36329e5beaf0274d1c9edf68d2cde2956b4c5770 (patch)
treee477ae5c7b615d78a492b8cc3ac7dabb6119871c
parentwdd: fix warnings (diff)
downloadflxutils-36329e5beaf0274d1c9edf68d2cde2956b4c5770.tar.gz
wdd: Fix warnings when builded with gcc-4.3 and without diet
(FORTIFY_SOURCE)
-rw-r--r--wd/Makefile2
1 files changed, 1 insertions, 1 deletions
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