mirror of https://gitee.com/bigwinds/arangodb
fix debug enabling V8 for debug builds
This commit is contained in:
parent
e4c205afde
commit
4ce59adbc6
|
@ -158,7 +158,7 @@ case "$1" in
|
|||
BUILD_CONFIG=Debug
|
||||
CFLAGS="${CFLAGS} -O0"
|
||||
CXXFLAGS="${CXXFLAGS} -O0"
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-v8-debug -DCMAKE_BUILD_TYPE=${BUILD_CONFIG}"
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DV8_TARGET_ARCHS=Debug -DCMAKE_BUILD_TYPE=${BUILD_CONFIG}"
|
||||
|
||||
echo "using debug compile configuration"
|
||||
shift
|
||||
|
@ -168,7 +168,7 @@ case "$1" in
|
|||
CFLAGS="${CFLAGS} -O3"
|
||||
CXXFLAGS="${CXXFLAGS} -O3"
|
||||
MAINTAINER_MODE="-DUSE_MAINTAINER_MODE=on"
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-v8-debug -DCMAKE_BUILD_TYPE=${BUILD_CONFIG}"
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DCMAKE_BUILD_TYPE=${BUILD_CONFIG}"
|
||||
|
||||
echo "using maintainer mode"
|
||||
shift
|
||||
|
|
Loading…
Reference in New Issue