diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-05 13:56:46 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-05 13:56:46 +0000 |
commit | 4de7e3a28691dec1434bfa3ef7e6568c966fecd5 (patch) | |
tree | 467864c8faf8e9bf77c85cd54ce921c9c1779f74 | |
parent | 3c4568b5fca2fd541d0ea0449547aa232f6da405 (diff) | |
download | perl-4de7e3a28691dec1434bfa3ef7e6568c966fecd5.tar.gz |
Some Tru64 C compilers have C++ components that confuse
the ccversion parsing.
p4raw-id: //depot/perl@11580
-rw-r--r-- | hints/dec_osf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 71bc05f4c1..8bf043f171 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -100,7 +100,7 @@ EOF fi ;; *) # compile something small: taint.c is fine for this. - ccversion=`cc -V | awk '/(Compaq|DEC) C/ {print $3}'` + ccversion=`cc -V | awk '/(Compaq|DEC) C/ {print $3}' | grep '^V'` # the main point is the '-v' flag of 'cc'. case "`cc -v -I. -c taint.c -o taint$$.o 2>&1`" in */gemc_cc*) # we have the new DEC GEM CC |