From 19c380d17f328c78b34171259c11cf601a80dbf7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 Jan 2002 14:44:57 +0000 Subject: Build glibc test apps static when told to. Make tiny live up to its name. --- test/Rules.mak | 1 + test/silly/tiny.c | 2 -- 2 files changed, 1 insertion(+), 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 #include int main(void) { - write(1,"hello world\n",12); _exit(42); } -- cgit v1.2.3