summaryrefslogtreecommitdiff
path: root/py/mkrules.mk
diff options
context:
space:
mode:
authorJeff Epler <jeff@adafruit.com>2020-04-14 18:55:40 -0500
committerGitHub <noreply@github.com>2020-04-14 18:55:40 -0500
commit7ed1483b89d24bb4dd44f9c4c8271c438303b9fe (patch)
tree6b138af871bea8cb57eaae23a1d6433bfe1bdece /py/mkrules.mk
parentada102dd986bb03186978579cc909da5c66772d6 (diff)
parent3c018bf7fd8142132bdd063a9c898188c825b2a7 (diff)
Merge pull request #2706 from jepler/protomatter
Protomatter: Integrate with CircuitPython
Diffstat (limited to 'py/mkrules.mk')
-rw-r--r--py/mkrules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index 292d25746..13a73b90e 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -145,7 +145,7 @@ $(PROG): $(OBJ)
# Do not pass COPT here - it's *C* compiler optimizations. For example,
# we may want to compile using Thumb, but link with non-Thumb libc.
$(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
-ifndef DEBUG
+ifdef STRIP_CIRCUITPYTHON
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
endif
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)