tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Detecting binary package build



Jonathan Perkin <jperkin%joyent.com@localhost> writes:

>> We generally avoid negative options. That's why the runtime detection in
>> mplayer is a default-on option and not the reverse.
>
> It's not a negative option though, it's just a (imho) bad
> PKG_SUGGESTED_OPTIONS default.  I agree with the principle that we
> shouldn't default to host-specific build options, and would rather we
> turned this off by default.  We currently have to ensure our bulk
> builds are built with
>
>   PKG_DEFAULT_OPTIONS+= -mplayer-runtime-cpudetection
>
> which is a bit crap.

I agree on avoiding negative optins, but runtime-cpudetetion is an
option that when enabled has default behavior rather than special
behavior without it.

So proabbly we should remove it, and add compiletime-cpudetection,
defaulting to off.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index