14 lines
337 B
Diff
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 = \
|
|
|