File: hardening.patch

package info (click to toggle)
libfuture-xs-perl 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212 kB
  • sloc: ansic: 1,471; perl: 181; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: add hardening flags
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2023-10-26

--- a/Build.PL
+++ b/Build.PL
@@ -11,6 +11,9 @@
 
 push @extra_compiler_flags, qw( -DDEBUGGING=-g ) if $^X =~ m|/debugperl|;
 
+# hardening
+push @extra_compiler_flags, Module::Build->split_like_shell($ENV{CPPFLAGS});
+
 my $build = Module::Build->new(
    module_name => 'Future::XS',
    requires => {