about summary refs log tree commit diff
path: root/sysdeps/mips/mips32/mips16/fpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/mips32/mips16/fpu/Makefile')
-rw-r--r--sysdeps/mips/mips32/mips16/fpu/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/mips/mips32/mips16/fpu/Makefile b/sysdeps/mips/mips32/mips16/fpu/Makefile
new file mode 100644
index 0000000000..b58c4eeb0c
--- /dev/null
+++ b/sysdeps/mips/mips32/mips16/fpu/Makefile
@@ -0,0 +1,5 @@
+# Building hard-float libm as MIPS16 actually produces larger code size,
+# so avoid doing so.
+ifeq ($(subdir),math)
+sysdep-CFLAGS += -mno-mips16
+endif