summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak1
-rw-r--r--test/silly/tiny.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index dac59ea3e..8c945afe9 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -47,6 +47,7 @@ endif
ifneq ($(DODYNAMIC),true)
LDFLAGS +=--static
+ GLIBC_LDFLAGS +=--static
endif
CFLAGS+=--uclibc-use-build-dir
LDFLAGS+=--uclibc-use-build-dir
diff --git a/test/silly/tiny.c b/test/silly/tiny.c
index 88cfde2ef..e54c0ff9e 100644
--- a/test/silly/tiny.c
+++ b/test/silly/tiny.c
@@ -1,8 +1,6 @@
-#include <stdlib.h>
#include <unistd.h>
int main(void)
{
- write(1,"hello world\n",12);
_exit(42);
}