summaryrefslogtreecommitdiff
path: root/tests/headers.at
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-11-14 00:36:03 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-11-14 00:36:03 +0000
commit2b42986e7508b80e3f0fdd25bfa0429d7a9bb4d3 (patch)
tree2a0387deb38ef2fd23a1003f1939082b31545719 /tests/headers.at
parentefc6bf1b94135c0b858896ef966aa7eaca4ff3cf (diff)
downloadbison-2b42986e7508b80e3f0fdd25bfa0429d7a9bb4d3.tar.gz
(export YYLTYPE): Don't invoke "cc a.c b.c -o c"; the HP-UX 11i C
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".
Diffstat (limited to 'tests/headers.at')
-rw-r--r--tests/headers.at4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/headers.at b/tests/headers.at
index c7f35c43..90652514 100644
--- a/tests/headers.at
+++ b/tests/headers.at
@@ -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