Skip to content

Commit

Permalink
Use ccflags in extrefs.t on VMS
Browse files Browse the repository at this point in the history
Otherwise we may not be getting all the options necessary to get
the test program to compile.  This test was failing because of a
symbol name that was too long, but it's fine if we include the
standard flag that shortens symbols.
  • Loading branch information
craigberry committed Mar 29, 2024
1 parent a49eddd commit a2ad598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/porting/extrefs.t
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ sub try_compile_and_link {
my $cccmd = "$Config{'cc'} $out_opt$tmp_exe $ccflags $tmp.c $libs $errornull";

if ($^O eq 'VMS') {
$cccmd = "$Config{'cc'} /include=($COREincdir) $tmp.c";
$cccmd = "$Config{'cc'} $Config{'ccflags'}/include=($COREincdir) $tmp.c";
}

if ($^O eq 'VMS') {
Expand Down

0 comments on commit a2ad598

Please sign in to comment.