1
0
Fork 0

patchlet for ppc64le micropython

jebbatime
jebba 2021-06-15 17:36:59 -06:00
parent 9bbd4e2ce1
commit 537f42f726
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
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 = \