summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/assert/Makefile2
-rw-r--r--test/ctype/Makefile2
-rw-r--r--test/pwd_grp/Makefile2
-rw-r--r--test/signal/Makefile2
-rw-r--r--test/silly/Makefile2
-rw-r--r--test/stdlib/Makefile2
-rw-r--r--test/string/Makefile2
7 files changed, 7 insertions, 7 deletions
diff --git a/test/assert/Makefile b/test/assert/Makefile
index 41bb04957..1a89272bf 100644
--- a/test/assert/Makefile
+++ b/test/assert/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
diff --git a/test/ctype/Makefile b/test/ctype/Makefile
index 68df8f806..9bd6af242 100644
--- a/test/ctype/Makefile
+++ b/test/ctype/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
diff --git a/test/pwd_grp/Makefile b/test/pwd_grp/Makefile
index bfeb0e652..5ec3b5f05 100644
--- a/test/pwd_grp/Makefile
+++ b/test/pwd_grp/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
diff --git a/test/signal/Makefile b/test/signal/Makefile
index b41d389f8..67fcc9fb0 100644
--- a/test/signal/Makefile
+++ b/test/signal/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
diff --git a/test/silly/Makefile b/test/silly/Makefile
index b0942caf1..196e8a385 100644
--- a/test/silly/Makefile
+++ b/test/silly/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
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
diff --git a/test/string/Makefile b/test/string/Makefile
index 4d9fdd25f..ddba98132 100644
--- a/test/string/Makefile
+++ b/test/string/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