Browse Source

Build glibc test apps static when told to.
Make tiny live up to its name.

Eric Andersen 22 years ago
parent
commit
19c380d17f
2 changed files with 1 additions and 2 deletions
  1. 1 0
      test/Rules.mak
  2. 0 2
      test/silly/tiny.c

+ 1 - 0
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

+ 0 - 2
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);
 }