summaryrefslogtreecommitdiff
path: root/py/mkrules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'py/mkrules.mk')
-rw-r--r--py/mkrules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index a3ff85ef8..ec36346b8 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -212,8 +212,10 @@ $(BUILD)/$(PROG): $(OBJ)
# we may want to compile using Thumb, but link with non-Thumb libc.
$(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
ifndef DEBUG
+ifdef STRIP
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $@
endif
+endif
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $@
clean: clean-prog