summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index c3daf9dac..c6997c040 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -3,7 +3,11 @@
#
# libc
-LIBS += -lgcc -lc -lm -lnosys
+LIBS += -lgcc -lm -lnosys
+
+ifneq ($(BOARD), spresense)
+LIBS += -lc
+endif
# TinyUSB Stack source
SRC_C += \