Hi Helmut,

On Sat, 2020-08-01 at 17:17 +0200, Helmut Grohne wrote:
> Source: vfu
> Version: 4.20-1
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
> 
> vfu fails to cross build from source again. Nothing ever initializes
> CXX to a cross compiler. Please consider applying the attached patch
> to do so.

That fix somehow implies that all makefile based packages should
include /usr/share/dpkg/buildtools.mk? I am not well aware with the
Debian build system but haven't seen other packages doing that.

Isn't it the job of the outer layer to set CC/CXX/etc? As per my
undestanding debian/rules will default CXX to g++ in case CXX is not
set, but when set, make will use it, and that should be the correct
behaviour. Maybe that is already done for CC but not for CXX, or
another name is used?

I'd appreciate if you give me a pointer on how to setup a cross build,
so I can include that in my test process.

With best regards,
b.

Reply via email to