1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/testing/micropython/micropython-1.9.4-prevent-stripping.patch
2021-10-15 01:44:24 +03:00

22 lines
790 B
Diff

--- a/py/mkenv.mk 2017-11-25 09:52:30.921836372 +0000
+++ a/py/mkenv.mk 2017-11-25 09:52:35.257861233 +0000
@@ -50,7 +50,6 @@
LD = $(CROSS_COMPILE)ld
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
-STRIP = $(CROSS_COMPILE)strip
AR = $(CROSS_COMPILE)ar
MAKE_MANIFEST = $(PYTHON) $(TOP)/tools/makemanifest.py
--- a/py/mkrules.mk 2017-11-25 09:53:13.107078063 +0000
+++ a/py/mkrules.mk 2017-11-25 09:53:31.898185592 +0000
@@ -198,9 +198,6 @@
# 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
- $(Q)$(STRIP) $(STRIPFLAGS_EXTRA) $@
-endif
$(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $@
clean: clean-prog