tech-pkg archive

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

Re: Detecting binary package build

* On 2017-09-24 at 08:53 BST, Joerg Sonnenberger wrote:

> On Sun, Sep 24, 2017 at 08:20:59AM +0200, Martin Husemann wrote:
> > If you absolutely need compile time cpu detection, make it an option but
> > default to off.
> 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.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index