Skip to content

Commit 2efe261

Browse files
committed
1 parent 135abef commit 2efe261

File tree

2 files changed

+0
-28
lines changed
  • cpan/ExtUtils-MakeMaker/lib/ExtUtils
  • dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform

2 files changed

+0
-28
lines changed

cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,4 @@ sub init_dist {
4646
$self->SUPER::init_dist(@_);
4747
}
4848

49-
=head3 cflags
50-
51-
Over-ride Apple's automatic setting of -Werror
52-
53-
=cut
54-
55-
sub cflags {
56-
my($self,$libperl)=@_;
57-
return $self->{CFLAGS} if $self->{CFLAGS};
58-
return '' unless $self->needs_linking();
59-
60-
my $base = $self->SUPER::cflags($libperl);
61-
62-
foreach (split /\n/, $base) {
63-
/^(\S*)\s*=\s*(\S*)$/ and $self->{$1} = $2;
64-
};
65-
$self->{CCFLAGS} .= " -Wno-error=implicit-function-declaration";
66-
67-
return $self->{CFLAGS} = qq{
68-
CCFLAGS = $self->{CCFLAGS}
69-
OPTIMIZE = $self->{OPTIMIZE}
70-
PERLTYPE = $self->{PERLTYPE}
71-
};
72-
}
73-
7449
1;

dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ sub compile {
2020
local $cf->{ccflags} = $cf->{ccflags};
2121
$cf->{ccflags} =~ s/-flat_namespace//;
2222

23-
# XCode 12 makes this fatal, breaking tons of XS modules
24-
$cf->{ccflags} .= ($cf->{ccflags} ? ' ' : '').'-Wno-error=implicit-function-declaration';
25-
2623
$self->SUPER::compile(@_);
2724
}
2825

0 commit comments

Comments
 (0)