summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
new file mode 100644
index 0000000000..b9ea6770f2
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
@@ -0,0 +1,26 @@
1Author: Samuel Thibault <sthibault@debian.org>
2Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
3Bug-Debian: http://bugs.debian.org/587901
4
5Don't override possible extra $ccflags values given to Configure
6on GNU/Hurd.
7
8---
9 hints/gnu.sh | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12diff --git a/hints/gnu.sh b/hints/gnu.sh
13index 2cfce54..c1ba2db 100644
14--- a/hints/gnu.sh
15+++ b/hints/gnu.sh
16@@ -19,7 +19,7 @@ lddlflags='-shared'
17 ccdlflags='-Wl,-E'
18
19 # Debian bug #258618
20-ccflags='-D_GNU_SOURCE'
21+ccflags="-D_GNU_SOURCE $ccflags"
22
23 # The following routines are only available as stubs in GNU libc.
24 # XXX remove this once metaconf detects the GNU libc stubs.
25--
26tg: (c823880..) fixes/hurd-ccflags (depends on: upstream)