summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-11 14:44:57 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-11 14:44:57 +0000
commit19c380d17f328c78b34171259c11cf601a80dbf7 (patch)
treea57961f8af35f26ff25195b3630e62b0fa2717b5
parent023e22230693005c909b1f5ed4e858bbeee71637 (diff)
downloaduClibc-alpine-19c380d17f328c78b34171259c11cf601a80dbf7.tar.bz2
uClibc-alpine-19c380d17f328c78b34171259c11cf601a80dbf7.tar.xz
Build glibc test apps static when told to.
Make tiny live up to its name.
-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);
}