summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker/lib
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/lib')
-rw-r--r--cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
index 518462adec..6cad8432b1 100644
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
@@ -192,9 +192,10 @@ sub cflags {
= @Config{qw(cc ccflags optimize shellflags)};
# Perl 5.21.4 adds the (gcc) warning (-Wall ...) and std (-std=c89)
- # flags to the %Config, and the modules in the core can be built
- # with those.
- my @ccextraflags = qw(ccwarnflags ccstdflags);
+ # flags to the %Config, and the modules in the core should be built
+ # with the warning flags, but NOT the -std=c89 flags (the latter
+ # would break using any system header files that are strict C99).
+ my @ccextraflags = qw(ccwarnflags);
if ($ENV{PERL_CORE}) {
for my $x (@ccextraflags) {
if (exists $Config{$x}) {