Change 28155 by stevep@stevep-kirk on 2006/05/10 23:02:20
Add to ccflags on Itaniums when
compiling with gcc's 3.2, 3.3, or 3.4. This fixes RT #37156.
Affected files
//depot/perl/hints/linux.sh#57 edit
Differences
//depot/perl/hints/linux.sh#57 (text)
Index: perl/hints/linux.sh
perl/hints/linux.sh#56~27568~2006-03-22 07:59:07.000000000 -0800
perl/hints/linux.sh2006-05-10 16:02:20.000000000 -0700
@@ -98,9 +98,19 @@
case "`uname -m`" in
ppc*)
# on ppc, it seems that gcc (at least gcc 3.3.2) isn't happy
- # with ; so downgrade to
+ # with ; so downgrade to
optimize=''
;;
+ ia64*)
+ # This architecture has had various problems with gcc's
+ # in the 3.2, 3.3, and 3.4 releases when optimized to See
+ # RT #37156 for a discussion of the problem.
+ case "`${cc:-gcc} -v 2>&1`" in
+ *"version 3.2"*|*"version 3.3"*|*"version 3.4"*)
+ ccflags=" $ccflags"
+ ;;
+ esac
+ ;;
esac
;;
esac
End of Patch.