httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject [PATCH] TestCompile sanity tweak for odd compilation environments
Date Wed, 15 Oct 1997 00:28:59 GMT
While working with checker I had to add various libs to get any
compilation to work.  "TestCompile sanity" doesn't pass the libs properly. 
This patch should fix it. 

When using checker there's a "checkergcc" which creates suitably munged
object files and you need to add "-lchecker" ... or something like that. 
This should be safe though. 

Dean

Index: helpers/TestCompile
===================================================================
RCS file: /export/home/cvs/apachen/src/helpers/TestCompile,v
retrieving revision 1.6
diff -u -r1.6 TestCompile
--- TestCompile	1997/08/26 00:13:48	1.6
+++ TestCompile	1997/10/15 00:25:30
@@ -102,7 +102,7 @@
 LDFLAGS=\$(LDFLAGS1) \$(EXTRA_LDFLAGS)
 
 dummy:
-	\$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) dummy.c -o dummy $TLIB
+	\$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) dummy.c -o dummy $TLIB \$(LIBS)
 
 testfunc:
 	\$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) testfunc.c -o testfunc \$(LIBS)




Mime
View raw message