diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2009-05-01 22:25:12 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2009-05-01 22:25:12 +0200 |
commit | 824807e58db0a44a227b88cc1d01ec4831d49202 (patch) | |
tree | fe186b0735e140b9583eb868c32c98a194073753 /wd/Makefile | |
parent | remount: sstrip is not available everywhere (diff) | |
download | flxutils-824807e58db0a44a227b88cc1d01ec4831d49202.tar.xz |
wdd: add a conditional sstrip and add more warnings
Diffstat (limited to 'wd/Makefile')
-rw-r--r-- | wd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wd/Makefile b/wd/Makefile index 58650df..f355d00 100644 --- a/wd/Makefile +++ b/wd/Makefile @@ -3,7 +3,7 @@ include ../include/rules.make CFLAGS+=-fomit-frame-pointer %: %.c - $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< + $(CC) $(LDFLAGS) $(CFLAGS) -W -Wall -o $@ $< $(STRIP) -x --strip-unneeded -R .comment -R .note $@ $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true - sstrip $@ + -if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi |