浏览代码

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

Eric Andersen 22 年之前
父节点
当前提交
19c380d17f
共有 2 个文件被更改,包括 1 次插入2 次删除
  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);
 }