]> git.saurik.com Git - bison.git/commitdiff
(export YYLTYPE): Don't invoke "cc a.c b.c -o c"; the HP-UX 11i C
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2002 00:36:03 +0000 (00:36 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Nov 2002 00:36:03 +0000 (00:36 +0000)
compiler chatters during compilation.  Instead, invoke "cc -c a.c -o
a.o; cc -c b.c -o b.o; cc a.o b.o -o c".

tests/headers.at

index c7f35c43ba584d300fb8856fa1bd8ccfe54df7e3..906525141ead07e600c52fae8002bb672a705501 100644 (file)
@@ -123,7 +123,9 @@ main (void)
 
 # Link and execute, just to make sure everything is fine (and in
 # particular, that MY_LLOC is indeed defined somewhere).
-AT_COMPILE([caller], [caller.c input.c])
+AT_COMPILE([caller.o], [-c caller.c])
+AT_COMPILE([input.o], [-c input.c])
+AT_COMPILE([caller], [caller.o input.o])
 AT_PARSER_CHECK([./caller])
 
 AT_CLEANUP