1
0
Fork 0
jebbatime/patches/micropython-ppc64le-nopie.p...

14 lines
337 B
Diff

diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index 2116cc670..2269bc1c3 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -43,6 +43,7 @@ else
LDFLAGS_ARCH = -Wl,-Map=$@.map,--cref -Wl,--gc-sections
endif
LDFLAGS = $(LDFLAGS_MOD) $(LDFLAGS_ARCH) -lm $(LDFLAGS_EXTRA)
+LDFLAGS += -no-pie
# source files
SRC_C = \