diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2008-01-22 06:59:47 -0500 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-01-22 23:49:53 +0000 |
commit | c297d531cc30766e5e2008f0ec77eb8361943cbf (patch) | |
tree | 515799b04429b7ffb6fe8ce6c0e55c231885676e /hints | |
parent | 776a38e31187f86a4a5b55c1719bc8c901a4e29a (diff) | |
download | perl-c297d531cc30766e5e2008f0ec77eb8361943cbf.tar.gz |
Re: Perl @ 32984 (also relevant to [perl #33849])
Message-ID: <Pine.LNX.4.64.0801221111410.31664@fractal.phys.lafayette.edu>
p4raw-id: //depot/perl@33040
Diffstat (limited to 'hints')
-rw-r--r-- | hints/irix_6.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh index b09e34dfca..e3df634c9c 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -337,6 +337,18 @@ case "`$cc -version 2>&1`" in ;; esac + +# Workaround [perl #33849]: perl 5.8.6 fails to build on IRIX 6.5 due to +# bizarre preprocessor bug: cc -E - unfortunately goes into K&R mode, but +# cc -E file.c doesn't. Force a wrapper to always get the ANSI mode. +# (We only need to do this for cc, not for gcc. ccversion is computed above.) +case "$ccversion" in +'') ;; # gcc. Do nothing. +*) cppstdin=`pwd`/cppstdin + cpprun="$cppstdin" + ;; +esac + EOCCBU # End of cc.cbu callback unit. - Allen |