summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 83f478b9f2..d69fe26e76 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -64,7 +64,8 @@ CFLAGS_arm := -mno-unaligned-access -ffunction-sections -fdata-sections
CFLAGS_arm64 := -ffunction-sections -fdata-sections
-CFLAGS_mipsel := -mips32r2 -G 0 -ffunction-sections -fdata-sections
+CFLAGS_mipsel := -mips32r2 -G 0 -ffunction-sections -fdata-sections
+CFLAGS_mipsel += -mno-abicalls -fno-pic
CFLAGS_x86_32 := -ffunction-sections -fdata-sections