summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/toolchain-wrapper.c')
-rw-r--r--toolchain/toolchain-wrapper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/toolchain-wrapper.c b/toolchain/toolchain-wrapper.c
index c048992656..977d642487 100644
--- a/toolchain/toolchain-wrapper.c
+++ b/toolchain/toolchain-wrapper.c
@@ -51,6 +51,9 @@ static char *predef_args[] = {
#ifdef BR_ABI
"-mabi=" BR_ABI,
#endif
+#ifdef BR_NAN
+ "-mnan=" BR_NAN,
+#endif
#ifdef BR_FPU
"-mfpu=" BR_FPU,
#endif
OpenPOWER on IntegriCloud