Re: build mozilla without debug

Andreas Otte <[email protected]> Wed, 17 Apr 2002 23:19:43 +0200
Newsgroups gmane.comp.mozilla.builds
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi!

Mozilla does not come without the DEBUG and QA menus. You have to modify 
your sources to get rid of them, as far as I know there is no option 
that does this for you.

Andreas


Clemens Kirchgatterer wrote:
> hi.
> 
> i try to build mozilla without debuging on linux but i allways get these
> DEBUG and QA menues in the menubar. is this the way it is supposed to be?
> 
> my configure options are:
> 
> # Options for client.mk.
> mk_add_options MOZ_MAKE_FLAGS=-j4
> 
> # Options for 'configure' (same as command-line options).
> ac_add_options --with-pthreads
> ac_add_options --with-system-jpeg=/usr/lib/libjpeg
> ac_add_options --with-system-zlib=/usr/lib/libz
> ac_add_options --with-system-png=/usr/lib/libpng
> ac_add_options --enable-toolkit-gtk
> ac_add_options --disable-mailnews
> ac_add_options --disable-ldap
> ac_add_options --enable-crypto
> ac_add_options --enable-plaintext-editor-only
> ac_add_options --disable-jsd
> ac_add_options --disable-mathml
> ac_add_options --disable-tests
> ac_add_options --disable-debug
> ac_add_options --enable-optimize="-Os -march=i586"
> ac_add_options --disable-dtd-debug
> ac_add_options --disable-logging
> ac_add_options --enable-reorder
> ac_add_options --enable-strip
> ac_add_options --with-default-mozilla-five-home=/opt/mozilla
> 
> am i missing something here? i want mozilla to be as small as possible
> and only have the browser, no mail/news, no chat. eventually no composer.
> 
> thanx ...
> clemens