ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ExtUtils-CXX/CXX.pm
(Generate patch)

Comparing ExtUtils-CXX/CXX.pm (file contents):
Revision 1.4 by root, Sun Nov 18 01:23:04 2018 UTC vs.
Revision 1.5 by root, Sun Apr 11 07:21:36 2021 UTC

48detects the language by the file extension will I<not> work. 48detects the language by the file extension will I<not> work.
49 49
50In the absence of these variables, it will do the following 50In the absence of these variables, it will do the following
51transformations on what it guesses will be the compiler name: 51transformations on what it guesses will be the compiler name:
52 52
53 gcc => g++ 53 gcc => g++
54 clang => clang++ 54 clang => clang++
55 xlc => xlC 55 xlc => xlC
56 cc => g++ 56 cc => g++
57 c89 => g++ 57 c89 => g++
58 perlcc => perlc++
58 59
59=back 60=back
60 61
61=over 4 62=over 4
62 63
83=cut 84=cut
84 85
85use Config; 86use Config;
86 87
87our %cc = ( 88our %cc = (
88 gcc => "g++", 89 gcc => "g++",
89 clang => "clang++", 90 clang => "clang++",
90 xlc => "xlC", 91 xlc => "xlC",
91 cc => "g++", 92 cc => "g++",
92 c89 => "g++", 93 c89 => "g++",
94 perlcc => "perlc++",
93); 95);
94 96
95our $PREFIX = qr{(?:\S+[\/\\])? (?:ccache|distcc)}x; 97our $PREFIX = qr{(?:\S+[\/\\])? (?:ccache|distcc)}x;
96 98
97sub _ccrepl { 99sub _ccrepl {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines