From 78760efbddea3cf832d71dbf979e0f51cb96aa85 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Fri, 7 Oct 2016 09:07:51 +0300 Subject: [PATCH] Fix ccflags handling The fix for [rt.cpan.org #115023] (commit fd2e1d685aaa3698) accidentally overwrote ccflags with the ldflags content. It seems possible that the clang warnings were due to this and commit 7d5872a806a8ebb48f is now unnecessary but I haven't tested that. Bug-Debian: https://bugs.debian.org/839775 Origin: backport, https://github.com/leto/math--gsl/pull/127 --- Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- libmath-gsl-perl.orig/Build.PL +++ libmath-gsl-perl/Build.PL @@ -73,7 +73,7 @@ $ldflags .= ' -fPIC -fno-omit-frame-pointer '; $ccflags .= ' -fPIC -fno-omit-frame-pointer '; } -$ccflags = $Config{cccdlflags} . ' ' . $ldflags; +$ccflags = $Config{cccdlflags} . ' ' . $ccflags; my @Subsystems = grep { ! /^Test$/ } GSLBuilder::subsystems(); push @Subsystems, "Multilarge" if $major >= 2;