firefox: add an option to build with debugging enabled.

This commit is contained in:
James Cook 2013-10-05 21:07:42 -07:00
parent 90f9726fa7
commit b0d4b8bcaa

View File

@ -4,6 +4,7 @@
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
, hunspell, libevent, libstartup_notification, libvpx
, cairo, gstreamer, gst_plugins_base
, debugBuild ? false
, # If you want the resulting program to call itself "Firefox" instead
# of "Shiretoko" or whatever, enable this option. However, those
# binaries may not be distributed without permission from the
@ -35,7 +36,7 @@ in rec {
commonConfigureFlags =
[ "--enable-optimize"
#"--enable-profiling"
"--disable-debug"
(if debugBuild then "--enable-debug" else "--disable-debug")
"--enable-strip"
"--with-system-jpeg"
"--with-system-zlib"