summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 7263489c2..5f7f519f0 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -56,7 +56,7 @@ endif
# This define is passed as EXTRADEFINES for kernel-mode builds. It is also passed
# during PASS1 (but not PASS2) context and depend targets.
-KDEFINE = ${shell $(TOPDIR)/tools/define.sh $(CC) __KERNEL__}
+KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
# Process architecture and board-specific directories