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

Re: Compilation options.



Alessio Giovanni Baroni wrote:
> Hi to all,
> a base question: when one compile a package, often are enabled the debug and
> low level
> optimiziation. For Debian, how must I to do it? -g/none -O1/-O2/-O3 ?
> 
> Thanks.
> 
IANADD

For C/C++ programs, you may use CFLAGS shell variable, provided by
dpkg-buildpackage, which also handles "noopt" option in
DEB_BUILD_OPTIONS automatically.

-- 
Eugene V. Lyubimkin aka JackYF

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: