From a2ad59817f19c5189b436c656571b506a386d267 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 29 Mar 2024 17:13:33 -0500 Subject: [PATCH] Use ccflags in extrefs.t on VMS 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. --- t/porting/extrefs.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/porting/extrefs.t b/t/porting/extrefs.t index ba2b2c66d6d8..b020ac51b1a9 100644 --- a/t/porting/extrefs.t +++ b/t/porting/extrefs.t @@ -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') {