diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-04-09 09:10:09 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-04-14 18:24:58 -0500 |
| commit | b1fab1cdac6a3e878a7d7a654f6ea6f92f60cc88 (patch) | |
| tree | 3adb548a1e8e3aa344fc45ee6d5a90cbe4387446 /py/mkrules.mk | |
| parent | 5dae23c0e787e38ea737f8333a1ad85a1de5184d (diff) | |
Make stripping circuitpython optional, not the default
Diffstat (limited to 'py/mkrules.mk')
| -rw-r--r-- | py/mkrules.mk | 2 |
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) |
