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

Re: build flags handling



On Tue, 3 Feb 2015 00:56:40 +0200,
Nico Schlömer<nico.schloemer@gmail.com> wrote:

>Hi everyone,
>
>I recently came across a package [1] which ideally would like to
>handle its own build flags (adding `-O3 -ffast-math` for speed, for
>example).
>What is the Debian policy on this?
>

Debian Policy wrote:
>It is up to the package maintainer to decide what compilation options
>are best for the package. Certain binaries (such as
>computationally-intensive programs) will function better with certain
>flags (-O3, for example); feel free to use them. Please use good
>judgment here.

See Debian Policy 10.1:
https://www.debian.org/doc/debian-policy/ch-files.html

-- Andreas Rönnquist
mailinglists@gusnan.se
gusnan@gusnan.se


Reply to: