mirror of https://github.com/vitalif/phantomjs
PhantomJS itself also needs to be build in debug mode.
https://code.google.com/p/phantomjs/issues/detail?id=5991.6
parent
aa533a5659
commit
fe784b45e6
6
build.sh
6
build.sh
|
@ -35,6 +35,10 @@ until [ -z "$1" ]; do
|
||||||
shift
|
shift
|
||||||
QT_CFG=" $1"
|
QT_CFG=" $1"
|
||||||
shift;;
|
shift;;
|
||||||
|
"--qmake-args")
|
||||||
|
shift
|
||||||
|
QMAKE_ARGS=$1
|
||||||
|
shift;;
|
||||||
"--jobs")
|
"--jobs")
|
||||||
shift
|
shift
|
||||||
COMPILE_JOBS=$1
|
COMPILE_JOBS=$1
|
||||||
|
@ -54,5 +58,5 @@ until [ -z "$1" ]; do
|
||||||
done
|
done
|
||||||
|
|
||||||
cd src/qt && ./preconfig.sh --jobs $COMPILE_JOBS --qt-config "$QT_CFG" && cd ../..
|
cd src/qt && ./preconfig.sh --jobs $COMPILE_JOBS --qt-config "$QT_CFG" && cd ../..
|
||||||
src/qt/bin/qmake
|
src/qt/bin/qmake $QMAKE_ARGS
|
||||||
make -j$COMPILE_JOBS
|
make -j$COMPILE_JOBS
|
||||||
|
|
|
@ -9,7 +9,7 @@ echo " $ make clean && cd src/qt && make clean && cd ../.."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Build the project
|
# Build the project
|
||||||
./build.sh --qt-config "-debug -webkit-debug" || exit 1
|
./build.sh --qt-config "-debug -webkit-debug" --qmake-args "CONFIG-=release CONFIG+=debug" || exit 1
|
||||||
|
|
||||||
# Package the release tarball
|
# Package the release tarball
|
||||||
rm deploy/*.tar.bz2 2>/dev/null
|
rm deploy/*.tar.bz2 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue