Skip to content

Commit ef46119

Browse files
haargthibaultduponchelle
authored andcommitted
Account for possibility of envvar $CC being defined
Fixes GH #23355.
1 parent b93fa0e commit ef46119

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dist/ExtUtils-CBuilder/t/03-cplusplus.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ if ($^O eq 'VMS') {
6161
}
6262

6363
{
64+
# GH #23355
65+
local $ENV{CC};
66+
delete $ENV{CC};
6467
local $ENV{CXX};
6568
delete $ENV{CXX};
6669
# GH #23146

0 commit comments

Comments
 (0)