aboutsummaryrefslogtreecommitdiff
path: root/lcd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lcd/Makefile')
-rw-r--r--lcd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcd/Makefile b/lcd/Makefile
index 06e0926..573dad8 100644
--- a/lcd/Makefile
+++ b/lcd/Makefile
@@ -4,6 +4,6 @@ CFLAGS+=-fomit-frame-pointer
%: %.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
- strip -R .comment -R .note $@
- objdump -h $@ | grep -q '\.data[ ]*00000000' && strip -R .data $@ || true
+ $(STRIP) -x --strip-unneeded -R .comment -R .note $@
+ $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true
sstrip $@