From bcc6b9bf9f29ea8ffcbff4265c4dcefc3c84c8ca Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 21 Apr 2023 14:35:45 -0500 Subject: Add missing ccflags on VMS to dist/Time-HiRes/Makefile.PL The absence of these flags has never previously caused a problem for running the probes, but on OpenVMS x86, warnings about long symbols cause the probes to fail, probably because those symbols are not getting optimized out as early in the new compiler. This in turn causes the build to fail due to defining a homegrown clockid_t which conflicts with the system version. So add the flags that specify symbol handling (as well as everything else being used to build Perl). --- dist/Time-HiRes/Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist') diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL index 5803dafc50..ac56d8df27 100644 --- a/dist/Time-HiRes/Makefile.PL +++ b/dist/Time-HiRes/Makefile.PL @@ -81,7 +81,7 @@ __EOD__ $ccflags .= ' -DPERL_NO_INLINE_FUNCTIONS'; if ($^O eq 'VMS') { - $cccmd = "$Config{'cc'} /include=($COREincdir) $tmp.c"; + $cccmd = "$Config{'cc'} $Config{'ccflags'} /include=($COREincdir) $tmp.c"; } if ($args{silent} || !$VERBOSE) { -- cgit v1.2.1