Permalink
Browse files

PhantomJS itself also needs to be build in debug mode.

  • Loading branch information...
1 parent aa533a5 commit fe784b45e6e9fc76d9fb714f860c87e63f8d852a @jonleighton jonleighton committed Jun 18, 2012
Showing with 6 additions and 2 deletions.
  1. +5 −1 build.sh
  2. +1 −1 deploy/build-and-package.sh
View
6 build.sh
@@ -35,6 +35,10 @@ until [ -z "$1" ]; do
shift
QT_CFG=" $1"
shift;;
+ "--qmake-args")
+ shift
+ QMAKE_ARGS=$1
+ shift;;
"--jobs")
shift
COMPILE_JOBS=$1
@@ -54,5 +58,5 @@ until [ -z "$1" ]; do
done
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
View
2 deploy/build-and-package.sh
@@ -9,7 +9,7 @@ echo " $ make clean && cd src/qt && make clean && cd ../.."
echo
# 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
rm deploy/*.tar.bz2 2>/dev/null

0 comments on commit fe784b4

Please sign in to comment.