Building Krb5 1.11.2 in Release Mode on Linux

Greg Hudson ghudson at MIT.EDU
Wed Jun 19 11:27:58 EDT 2013


On 06/19/2013 09:49 AM, Mohit Aggrawal wrote:
>  when I configure the build env using
> 
> bash-3.00$ ../src/configure
> 
> command it automatically append the -g option in CFLAGS and CXXFLAGS  and
> build the
> library in debug mode.

The default CFLAGS for essentially all autoconf-using programs is "-g
-O2".  Although the -g option includes debugging symbols in the
resulting binaries, it isn't really a "debug mode"; the programs will
generally run just as fast as they would without debugging symbols.

If you really don't want those symbols, you can run "../src/configure
CFLAGS=-O2" and they won't be included.

Also, when you're sending messages to a mailing list, there is no need
to CC the list's -request address, which is typically the list's
administrators.



More information about the krbdev mailing list