On Sun, Dec 08, 2019 at 09:04:06AM -0300, Felipe Sateler wrote:

> Thanks for the patch, I have applied it.  However, wouldn't it be better
> if autopkgtest provided CC and friends directly to the test?  Or provide a
> tool that does?  I have commented on the autopkgtest merge request.

This parallels the existing interface used for cross-compilation in dpkg. 
We don't try to set CC directly for a couple of reasons:

 - it's very difficult to be comprehensive about all the tools that will
   need to be invoked differently for cross vs native builds. CC is one, but
   LD, AS, CXX, FF, ... and there is no such standard variable for
   pkg-config that's widely recognized by build systems.
 - there are cases when cross-compiling that you need to build code for both
   the host and build architectures, and in that case there is no universal
   agreement which of these two targets "CC" points to.

So I've been relying on the tried and true dpkg interface here instead.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pkg-pulseaudio-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to