File: perl-5.14-ccflags.patch

package info (click to toggle)
libpdl-netcdf-perl 4.20-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 572 kB
  • ctags: 8
  • sloc: makefile: 26
file content (16 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (3)
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()],