about summary refs log tree commit diff
path: root/sysdeps/mips/mips64/n32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/mips64/n32/Makefile')
-rw-r--r--sysdeps/mips/mips64/n32/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mips/mips64/n32/Makefile b/sysdeps/mips/mips64/n32/Makefile
index 26f38570d7..a84d2a51bd 100644
--- a/sysdeps/mips/mips64/n32/Makefile
+++ b/sysdeps/mips/mips64/n32/Makefile
@@ -1,2 +1,6 @@
 # `long double' is a distinct type we support.
 long-double-fcts = yes
+
+ifeq ($(filter -mabi=n32,$(CC)),)
+CC += -mabi=n32
+endif