]> git.lizzy.rs Git - rust.git/commit
build: Add --enable-debug configure option
authorBrian Anderson <banderson@mozilla.com>
Fri, 30 Mar 2012 02:10:38 +0000 (19:10 -0700)
committerBrian Anderson <banderson@mozilla.com>
Fri, 30 Mar 2012 02:10:38 +0000 (19:10 -0700)
commitf452973a7fa8dcd3c7846c3eb333f968748443f6
treebaa36ca8e6e2df3b4b7a542b571cedab19ed3405
parent5b3740508a1b4a77177b9af8d87f4c4b0b5e9033
build: Add --enable-debug configure option

When CFG_ENABLE_DEBUG is defined it will call rustc with -g --cfg=debug
and cc with -DRUST_DEBUG. Otherwise it calls rustc with --cfg=ndebug and cc
with -DRUST_NDEBUG.

I plan to use this for a few things in the runtime.
Makefile.in
configure
mk/platform.mk