Displaying 1 result from an estimated 1 matches for "6a4b41b".
Did you mean:
6a4b41b2
2019 Jan 18
0
[klibc:master] mips64: compile with -mno-abicalls
...or.com/pipermail/klibc/2018-March/003985.html
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/arch/mips64/MCONFIG | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/usr/klibc/arch/mips64/MCONFIG b/usr/klibc/arch/mips64/MCONFIG
index b37cc6a..6a4b41b 100644
--- a/usr/klibc/arch/mips64/MCONFIG
+++ b/usr/klibc/arch/mips64/MCONFIG
@@ -7,7 +7,17 @@
# accordingly.
#
+KLIBCARCHREQFLAGS = -fno-pic -mno-abicalls -G 0
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
-KLIBCSHAREDFLAGS = -T $(src)/arch/mips/klibc.ld
+# Extra linkflags when building the sh...