فهرست منبع

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

Eric Andersen 23 سال پیش
والد
کامیت
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);
 }