From a0450e475e5f023cd469502d959aec90c27f00f7 Mon Sep 17 00:00:00 2001 From: "aydin.kim" Date: Tue, 16 Apr 2013 13:20:21 +0900 Subject: [PATCH] added --enable-debug flag to mozjs --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index db1f27140d1..c7a8a5408e6 100755 --- a/configure +++ b/configure @@ -496,6 +496,11 @@ do if [ $i = "rust-azure" ]; then CONFIGURE_ARGS="--enable-skia" fi + if [ $i = mozjs ]; then + if [ ! -z $CFG_ENABLE_DEBUG ]; then + CONFIGURE_ARGS="--enable-debug" + fi + fi if [ -f ${CONFIGURE_SCRIPT} ] then @@ -516,6 +521,7 @@ putvar CFG_SUBMODULES putvar CFG_DISABLE_MANAGE_SUBMODULES putvar CFG_RUSTC putvar CFG_LOCAL_RUSTC +putvar CFG_ENABLE_DEBUG msg copy_if_changed ${CFG_SRC_DIR}Makefile.in ${CFG_BUILD_DIR}Makefile