aboutsummaryrefslogtreecommitdiff
path: root/mktmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mktmp/Makefile')
-rw-r--r--mktmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mktmp/Makefile b/mktmp/Makefile
index e4e9ccc..a430169 100644
--- a/mktmp/Makefile
+++ b/mktmp/Makefile
@@ -4,6 +4,6 @@ include ../include/rules.make
%: %.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 $@