diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-11 14:44:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-11 14:44:57 +0000 |
commit | 19c380d17f328c78b34171259c11cf601a80dbf7 (patch) | |
tree | a57961f8af35f26ff25195b3630e62b0fa2717b5 /test | |
parent | 023e22230693005c909b1f5ed4e858bbeee71637 (diff) |
Build glibc test apps static when told to.
Make tiny live up to its name.
Diffstat (limited to 'test')
-rw-r--r-- | test/Rules.mak | 1 | ||||
-rw-r--r-- | test/silly/tiny.c | 2 |
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); } |