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

2012-12-01 Thread Rob Browning
Rob Browning writes: > Colin Watson 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)? OK, so

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

2012-12-01 Thread Rob Browning
Colin Watson 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 @defaultvalue.org a

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. * Us