Your message dated Wed, 30 Nov 2011 12:12:36 +0100
with message-id <[email protected]>
and subject line Re: bash: Please use dpkg-buildflags for DEB_BUILD_OPTIONS 
support
has caused the Debian Bug report #596260,
regarding bash: please use dpkg-buildflags to retrieve compiler options 
(including hardening flags)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
596260: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596260
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash
Version: 1.14.0-2.1
Severity: wishlist
Tags: patch

Hi,

I'm currently working on cross-building bits of Debian and bash fails
to build. The reason is simple: debian/rules hard-codes the use of
"gcc" as the compiler to use. The trivial patch here detects a
cross-build and works for me:

--- debian/rules.old    2011-06-09 17:18:59.885799222 +0000
+++ debian/rules        2011-06-09 17:19:09.205818722 +0000
@@ -22,7 +22,12 @@
 
 with_gfdl      = no
 
-CC     = gcc
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CC     = $(DEB_HOST_GNU_TYPE)-gcc
+else
+CC     = gcc
+endif
+
 CFLAGS = -g -O2 -Wall
 SHELL  = /bin/bash
 YACC   = bison -y

Cheers,
-- 
Steve McIntyre
[email protected]




--- End Message ---
--- Begin Message ---
Version: 4.2-1


--- End Message ---

Reply via email to