summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff
blob: 8868c643f1c39add5753b7bb20ef7c66990bf320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Upstream-Status:Inappropriate [debian patch]

Author: Samuel Thibault <sthibault@debian.org>
Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
Bug-Debian: http://bugs.debian.org/587901

Don't override possible extra $ccflags values given to Configure
on GNU/Hurd.

---
 hints/gnu.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hints/gnu.sh b/hints/gnu.sh
index 2cfce54..c1ba2db 100644
--- a/hints/gnu.sh
+++ b/hints/gnu.sh
@@ -19,7 +19,7 @@ lddlflags='-shared'
 ccdlflags='-Wl,-E'
 
 # Debian bug #258618
-ccflags='-D_GNU_SOURCE'
+ccflags="-D_GNU_SOURCE $ccflags"
 
 # The following routines are only available as stubs in GNU libc.
 # XXX remove this once metaconf detects the GNU libc stubs.
-- 
tg: (a508b62..) fixes/hurd-ccflags (depends on: upstream)