summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-11-26 19:29:05 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-11-26 19:29:05 +0000
commit7ff69a2dfa48adbf53463c1e2d00ff80e4fd34f5 (patch)
treef37e71bf3f05be6653ff7a8fffd92cfa68a95dfa /cpan/ExtUtils-MakeMaker/lib
parentb54e9f3bd58ff30ebd993c67a675685191e43651 (diff)
downloadperl-7ff69a2dfa48adbf53463c1e2d00ff80e4fd34f5.tar.gz
[PATCH] Do not use ccstdflags with the core extensions.
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
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}) {