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

Bug#157131: PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"

On 18 Aug 2002 18:16:43 -0400,
Colin Walters <walters@debian.org> wrote:
> +	    <tag>noopt</tag>
> +	    <item>
> +	      <p>
> +		The presence of this string means that the package
> +		should be complied with the minumum possible amount of
> +		optimization.  For C programs, this usually implies
> +		adding <tt>-O0</tt> to <tt>CFLAGS</tt>.  Some programs
> +		might fail to build or run at this level of
> +		optimization; it may be necessary to use <tt>-O1</tt>.
> +	      </p>
> +	    </item>
-O0 is the default of gcc.  Why do I have to add it explicitly?
I don't want a bug filed just because -O0 is missing.

Oohara Yuuma <oohara@libra.interq.or.jp>
Debian developer
PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170  1F4A 40D6 F42E F464 A695

Better just encrypt it all in your head :-).
--- Derrick 'dman' Hudson, about encryption without any physical medium

Reply to: