Description: Add $Config{ccflags} to CCFLAGS
 Since 5.14 we need the same CCFLAGS Perl itself was compiled with.
 So don't override but add to CCFLAGS.
Origin: vendor; but also on CPAN RT
Bug-Debian: https://bugs.debian.org/869208
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=79754
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2017-07-21

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,8 +1,9 @@
 use ExtUtils::MakeMaker;
+use Config;
 
 $CC = 'g++';
 
-%args = ('CCFLAGS' => '-Wall');
+%args = ('CCFLAGS' => "-Wall $Config{ccflags}");
 
 if($^O eq 'cygwin') {
   $args{'LDDLFLAGS'} = '-shared -L/usr/local/lib';
