summaryrefslogtreecommitdiff
path: root/test/stdlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdlib/Makefile')
-rw-r--r--test/stdlib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile
index 0140739d7..d83ee1f87 100644
--- a/test/stdlib/Makefile
+++ b/test/stdlib/Makefile
@@ -8,7 +8,7 @@ LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
-I$(TOPDIR)include -I/usr/include/linux
XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=$(TOPDIR)libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a -lgcc
YCFLAGS = -Wall -Os -fomit-frame-pointer
YLDFLAGS = -s --static