[libmath-gsl-perl] 12/13: update 0001-Hardening-Build-Patch.patch again
gregor herrmann
gregoa at debian.org
Mon Oct 3 22:16:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libmath-gsl-perl.
commit bb24795a0d8c0dccdafa967672bee24bac60fbf7
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Oct 4 00:11:53 2016 +0200
update 0001-Hardening-Build-Patch.patch again
add to $ccflags instead of replacing it.
but somehow this handling of $ccflags and $ldflags still looks a bit messy
Gbp-Dch: Ignore
---
debian/patches/0001-Hardening-Build-Patch.patch | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/patches/0001-Hardening-Build-Patch.patch b/debian/patches/0001-Hardening-Build-Patch.patch
index c3eddc5..25747ea 100644
--- a/debian/patches/0001-Hardening-Build-Patch.patch
+++ b/debian/patches/0001-Hardening-Build-Patch.patch
@@ -20,3 +20,12 @@ Last-Update: 2016-10-03
## Swig produces a number of GCC warnings. Turn them off if we can.
$ccflags .= try_cflags("-Wall");
$ccflags .= try_cflags("-Wno-sometimes-uninitialized");
+@@ -70,7 +73,7 @@ if ($Config{archname} =~ /x86_64|amd64/
+ $ldflags .= ' -fPIC -fno-omit-frame-pointer ';
+ $ccflags .= ' -fPIC -fno-omit-frame-pointer ';
+ }
+-$ccflags = $Config{cccdlflags} . ' ' . $ldflags;
++$ccflags .= $Config{cccdlflags} . ' ' . $ldflags;
+
+ my @Subsystems = grep { ! /^Test$/ } GSLBuilder::subsystems();
+ push @Subsystems, "Multilarge" if $major >= 2;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-gsl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list