Package: libpdl-netcdf-perl / 4.20-6

perl-5.14-ccflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Add $Config{ccflags} to CCFLAGS.
Author: gregor herrmann <gregoa@debian.org>
Bug-Debian: https://bugs.debian.org/636753
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=115393

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -83,7 +83,7 @@ WriteMakefile(
 	      'NAME'  	     => 'PDL::NetCDF',
 	      'AUTHOR'       => 'Douglas Hunt (dhunt@ucar.edu)',
 	      'PREREQ_PM'    => { PDL => 0 },
-	      'CCFLAGS'      => "$define_bool -g",  
+	      'CCFLAGS'      => "$define_bool $Config{ccflags}",  
 	      'VERSION_FROM' => 'netcdf.pd',
 	      'META_MERGE'   =>  {provides => {PDL::NetCDF => {file => 'netcdf.pd', version => 4.19}}},
 	      'TYPEMAPS'     => [&PDL_TYPEMAP()],