diff options
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.diff | 26 |
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 @@ | |||
1 | Author: Samuel Thibault <sthibault@debian.org> | ||
2 | Subject: Make hints/gnu.sh append to $ccflags rather than overriding them | ||
3 | Bug-Debian: http://bugs.debian.org/587901 | ||
4 | |||
5 | Don't override possible extra $ccflags values given to Configure | ||
6 | on GNU/Hurd. | ||
7 | |||
8 | --- | ||
9 | hints/gnu.sh | 2 +- | ||
10 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
13 | index 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 | -- | ||
26 | tg: (c823880..) fixes/hurd-ccflags (depends on: upstream) | ||