summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 01f4f4a96..0495cce4c 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -115,6 +115,10 @@ ifneq ($(ADK_TARGET_INSTRUCTION_SET),)
GCC_CONFOPTS+= --with-mode=$(ADK_TARGET_INSTRUCTION_SET)
endif
+ifneq ($(ADK_TARGET_NAN_MODE),)
+GCC_CONFOPTS+= --with-nan=$(ADK_TARGET_NAN_MODE)
+endif
+
# .symver is broken for Blackfin, simple C++ apps fail to link
ifeq ($(ADK_TARGET_ARCH_BFIN),y)
GCC_CONFOPTS+= --disable-symvers