Bug#694842: lockfile-progs: fails to cross-build: uses wrong compiler

2012-12-01 Thread Rob Browning
Colin Watson cjwat...@ubuntu.com writes: +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +export CC := $(DEB_HOST_GNU_TYPE)-gcc +endif Thanks -- do you think CC := or ?= would be better (just noticed this, http://wiki.debian.org/CrossBuildPackagingGuidelines)? -- Rob Browning rlb

Bug#694842: lockfile-progs: fails to cross-build: uses wrong compiler

2012-12-01 Thread Rob Browning
Rob Browning r...@defaultvalue.org writes: Colin Watson cjwat...@ubuntu.com writes: +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +export CC := $(DEB_HOST_GNU_TYPE)-gcc +endif Thanks -- do you think CC := or ?= would be better (just noticed this,

Bug#694842: lockfile-progs: fails to cross-build: uses wrong compiler

2012-11-30 Thread Colin Watson
Package: lockfile-progs Version: 0.1.16 Severity: normal Tags: patch User: crossbu...@debian.org Usertags: cross lockfile-progs fails to cross-build because it tries to use the native compiler rather than the cross-compiler. The following patch fixes this and produces a clean cross-build. *