summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2023-04-21 14:35:45 -0500
committerCraig A. Berry <craigberry@mac.com>2023-05-16 16:44:39 -0500
commitbcc6b9bf9f29ea8ffcbff4265c4dcefc3c84c8ca (patch)
tree72b08e5bf7087f97d1f952c5ecab93b22755a18d
parentc95fddf8e56caff8fd19a9e685ab898ee4e51001 (diff)
downloadperl-bcc6b9bf9f29ea8ffcbff4265c4dcefc3c84c8ca.tar.gz
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).
-rw-r--r--dist/Time-HiRes/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
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) {