On 2010/04/30 18:27, "Kurt Roeckx" <k...@roeckx.be> wrote: > On Fri, Apr 30, 2010 at 05:42:53PM -0400, Kyle Moffett wrote: >> Package: openssl >> Version: 0.9.8m-2 >> Severity: wishlist >> Tags: patch sid >> >> In order to cross-compile OpenSSL, we need to override the "CC" >> environment variable with the target compiler. We also need to make >> sure we disable the testsuite in that case. As an added bonus, this >> adds support for DEB_BUILD_OPTIONS=nocheck. > > It's clearly a better patch as the one provided in #465248. > > Is there a reason you always set CC, even when not cross > compiling?
Ah, thanks! My experience tells me that as cross-compiling tends to be a relatively rare occurrence it's best to avoid gratuitous differences between the "cross" and "native" build processes. Since every Debian box always provides the native compiler as $(DEB_BUILD_GNU_TYPE)-gcc *anyways*, this removes one such gratuitous difference. It also makes things easier in heterogeneous distcc/icecc build systems, because the compiler is always called by the unambiguous full name. When the compile line then gets shuttled across to another system for execution it correctly specifies a cross compiler (even though on the origin system it was a native compiler). > Any reason you tag this as "sid"? That makes no sense. Ah, sorry; I'm apparently not very good at correctly using "reportbug"... that's my fourth such error this week :-\ Cheers, Kyle Moffett -- Kyle Moffett eXMeritus Software Integrated Intelligence The Boeing Company (703) 764-0925 (703) 832-0657 (fax) kyle.d.moff...@boeing.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org