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 Original file line number Diff line number Diff line change @@ -46,29 +46,4 @@ sub init_dist {
46
46
$self -> SUPER::init_dist(@_ );
47
47
}
48
48
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
-
74
49
1;
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ sub compile {
20
20
local $cf -> {ccflags } = $cf -> {ccflags };
21
21
$cf -> {ccflags } =~ s / -flat_namespace// ;
22
22
23
- # XCode 12 makes this fatal, breaking tons of XS modules
24
- $cf -> {ccflags } .= ($cf -> {ccflags } ? ' ' : ' ' ).' -Wno-error=implicit-function-declaration' ;
25
-
26
23
$self -> SUPER::compile(@_ );
27
24
}
28
25
You can’t perform that action at this time.
0 commit comments