/usr/share/perl/5.34.0/ExtUtils/CBuilder/Platform
NameSizeModeActions
Windows/-0755rm
aix.pm6250644editdlrm
android.pm12160644editdlrm
cygwin.pm9320644editdlrm
darwin.pm6730644editdlrm
dec_osf.pm4280644editdlrm
os2.pm24110644editdlrm
Unix.pm10460644editdlrm
VMS.pm102880644editdlrm
Windows.pm89610644editdlrm
Edit: /usr/share/perl/5.34.0/ExtUtils/CBuilder/Platform/darwin.pm (673B)
package ExtUtils::CBuilder::Platform::darwin; use warnings; use strict; use ExtUtils::CBuilder::Platform::Unix; our $VERSION = '0.280236'; # VERSION our @ISA = qw(ExtUtils::CBuilder::Platform::Unix); sub compile { my $self = shift; my $cf = $self->{config}; # -flat_namespace isn't a compile flag, it's a linker flag. But # it's mistakenly in Config.pm as both. Make the correction here. local $cf->{ccflags} = $cf->{ccflags}; $cf->{ccflags} =~ s/-flat_namespace//; # XCode 12 makes this fatal, breaking tons of XS modules $cf->{ccflags} .= ($cf->{ccflags} ? ' ' : '').'-Wno-error=implicit-function-declaration'; $self->SUPER::compile(@_); } 1;