[dom at earth.li: [PATCH] Make hints/gnu.sh append to $ccflags rather than overriding them]

Dominic Hargreaves dom at earth.li
Sun Jun 5 15:35:41 UTC 2011


FYI.

----- Forwarded message from Dominic Hargreaves <dom at earth.li> -----

Date: Sun, 5 Jun 2011 16:34:54 +0100
From: Dominic Hargreaves <dom at earth.li>
To: perlbug at perl.org
Subject: [PATCH] Make hints/gnu.sh append to $ccflags rather than
	overriding them
User-Agent: Mutt/1.5.20 (2009-06-14)

This issue was originally reported at
<http://bugs.debian.org/587901>. The patch fixes @INC breakage and
other problems building perl on Debian/Hurd.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)

>From 975b11e860fd8ca61cc0e9de7586aad48ed1ebaf Mon Sep 17 00:00:00 2001
From: Samuel Thibault <sthibault at debian.org>
Date: Wed, 4 Aug 2010 13:34:05 +0300
Subject: [PATCH] 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.
-- 
1.7.2.5



----- End forwarded message -----

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)




More information about the Perl-maintainers mailing list