[Pkg-openssl-devel] Bug#579802: Bug#579802: debian/rules: Allowcross-compilation and add nocheck
Moffett, Kyle D
Kyle.D.Moffett at boeing.com
Fri Apr 30 22:41:24 UTC 2010
On 2010/04/30 18:27, "Kurt Roeckx" <kurt at 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.Moffett at boeing.com
More information about the Pkg-openssl-devel
mailing list