From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- .../micropython-1.9.3-prevent-stripping.patch | 22 ++++++++++++++++++++++ .../micropython-1.9.4-prevent-stripping.patch | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch create mode 100644 dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch (limited to 'dev-lang/micropython/files') diff --git a/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch new file mode 100644 index 000000000000..5ae7299f9f9c --- /dev/null +++ b/dev-lang/micropython/files/micropython-1.9.3-prevent-stripping.patch @@ -0,0 +1,22 @@ +--- 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 + ifeq ($(MICROPY_FORCE_32BIT),1) + CC += -m32 +--- a/py/mkrules.mk 2017-11-25 09:53:13.107078063 +0000 ++++ a/py/mkrules.mk 2017-11-25 09:53:31.898185592 +0000 +@@ -132,9 +132,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) $(PROG) +-endif + $(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG) + + clean: clean-prog diff --git a/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch b/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch new file mode 100644 index 000000000000..a130b72b6131 --- /dev/null +++ b/dev-lang/micropython/files/micropython-1.9.4-prevent-stripping.patch @@ -0,0 +1,22 @@ +--- 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 + ifeq ($(MICROPY_FORCE_32BIT),1) + CC += -m32 +--- a/py/mkrules.mk 2017-11-25 09:53:13.107078063 +0000 ++++ a/py/mkrules.mk 2017-11-25 09:53:31.898185592 +0000 +@@ -129,9 +129,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) $(PROG) +-endif + $(Q)$(SIZE) $$(find $(BUILD) -path "$(BUILD)/build/frozen*.o") $(PROG) + + clean: clean-prog -- cgit v1.2.3