summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index da0af791d..ac25c0e6d 100644
--- a/Makefile
+++ b/Makefile
@@ -79,9 +79,11 @@ LDFLAGS = -Map ../../$(MAP)
LIB := $(LIBPATH) -lc -lgcc
ifneq ($(MODERN),0)
+ifneq ($(DEVKITARM),)
ifeq ($(TOOLCHAIN),$(DEVKITARM))
LIB += -lsysbase -lc
endif
+endif
LIB += -lnosys
endif