Skip to content

Commit b1fab1c

Browse files
committed
Make stripping circuitpython optional, not the default
1 parent 5dae23c commit b1fab1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/mkrules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ $(PROG): $(OBJ)
145145
# Do not pass COPT here - it's *C* compiler optimizations. For example,
146146
# we may want to compile using Thumb, but link with non-Thumb libc.
147147
$(Q)$(CC) -o $@ $^ $(LIB) $(LDFLAGS)
148-
ifndef DEBUG
148+
ifdef STRIP_CIRCUITPYTHON
149149
$(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $(PROG)
150150
endif
151151
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG)

0 commit comments

Comments
 (0)