Change 34835 by [EMAIL PROTECTED] on 2008/11/14 18:52:30

        Subject: [PATCH] Future-proof hints/linux.sh against Sun's cc -V output.
        From: Andy Dougherty <[EMAIL PROTECTED]>
        Date: Fri, 14 Nov 2008 13:01:13 -0500 (EST)
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/hints/linux.sh#69 edit

Differences ...

==== //depot/perl/hints/linux.sh#69 (text) ====
Index: perl/hints/linux.sh
--- perl/hints/linux.sh#68~34815~       2008-11-11 07:55:28.000000000 -0800
+++ perl/hints/linux.sh 2008-11-14 10:52:30.000000000 -0800
@@ -102,7 +102,11 @@
     '') optimize='-O3' ;;
     esac
     ;;
-*"Sun C"*)
+*" Sun "*"C"*)
+    # Sun's C compiler, which might have a 'tag' name between
+    # 'Sun' and the 'C':  Examples:
+    # cc: Sun C 5.9 Linux_i386 Patch 124871-01 2007/07/31
+    # cc: Sun Ceres C 5.10 Linux_i386 2008/07/10
     test "$optimize" || optimize='-xO2'
     cccdlflags='-KPIC'
     lddlflags='-G -Bdynamic'
End of Patch.

Reply via email to