aboutsummaryrefslogtreecommitdiff
path: root/remount/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'remount/Makefile')
-rw-r--r--remount/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/remount/Makefile b/remount/Makefile
index 718de45..71633d5 100644
--- a/remount/Makefile
+++ b/remount/Makefile
@@ -7,6 +7,6 @@ remountw : remountr
%: %.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 $@