aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/make_debugger.sh
blob: 86a7ff988495df9e40ab30fcafbc74b4a0c82124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Used to recompile required skia libraries with static initializers turned
# off. This fixes a bug in which the linux compiler was incorrectly stripping
# required global static methods in an optimization effort.

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CWD=$SCRIPT_DIR/../

DEFINES="skia_static_initializers=0" 
export GYP_DEFINES="$DEFINES"

make clean -C $CWD
make -C $CWD debugger -j