Blame abicheck-1.2-test-static.patch

aa15064
diff -Nur abicheck-1.2-orig/test/Makefile abicheck-1.2/test/Makefile
aa15064
--- abicheck-1.2-orig/test/Makefile	2003-08-26 21:57:51.000000000 +0200
aa15064
+++ abicheck-1.2/test/Makefile	2004-12-13 13:01:19.827315472 +0100
aa15064
@@ -9,7 +9,7 @@
aa15064
 # /usr/bin/ld: BFD 2.11.93.0.2 20020207 assertion fail elf-strtab.c:262
aa15064
 # but it still creates the binary properly.
aa15064
 libc_a: libc_a.c
aa15064
-	cc -o libc_a libc_a.c -lm /usr/lib/libc.a
aa15064
+	cc -o libc_a libc_a.c -static -lm /usr/lib/libc.a
aa15064
 
aa15064
 private1: private1.c
aa15064
 	cc -D`uname` -o private1 private1.c
60d5598
diff -Nur abicheck-1.2-orig/test/libc_a.c abicheck-1.2/test/libc_a.c
60d5598
--- abicheck-1.2-orig/test/libc_a.c	2003-08-26 21:57:51.000000000 +0200
60d5598
+++ abicheck-1.2/test/libc_a.c	2007-05-24 11:11:20.000000000 +0200
60d5598
@@ -5,6 +5,7 @@
60d5598
 
60d5598
 /* This is used to catch libc.a linking. See Makefile & run_tests */
60d5598
 
60d5598
+#include <stdio.h>
60d5598
 #include <stdlib.h>
60d5598
 #include <math.h>
60d5598