mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
added --enable-debug flag to mozjs
This commit is contained in:
parent
1bfcf7590b
commit
a0450e475e
1 changed files with 6 additions and 0 deletions
6
configure
vendored
6
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue