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] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

