summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-25 23:32:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-25 23:32:43 +0200
commit939014ddce98bd07c774815a7f0cf379c8bde38d (patch)
tree10ece1f5456f0478a5c6fde9957f1d55e22b9938 /Rules.mak
parentde633ed60fca535f51a4f6af24c8899321a3d69c (diff)
mips: add NaN support
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index e616e3952..cd343f586 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -409,6 +409,8 @@ ifeq ($(TARGET_ARCH),mips)
CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
+ CPU_CFLAGS-$(CONFIG_MIPS_NAN_LEGACY)+=-mnan=legacy
+ CPU_CFLAGS-$(CONFIG_MIPS_NAN_2008)+=-mnan=2008
CPU_LDFLAGS-y += $(CPU_CFLAGS)
endif