chudy@google.com | bbad34d | 2012-08-13 14:26:36 +0000 | [diff] [blame] | 1 | # Used to recompile required skia libraries with static initializers turned |
2 | # off. This fixes a bug in which the linux compiler was incorrectly stripping | ||||
3 | # required global static methods in an optimization effort. | ||||
4 | |||||
5 | SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||||
6 | CWD=$SCRIPT_DIR/../ | ||||
7 | |||||
8 | DEFINES="skia_static_initializers=0" | ||||
9 | export GYP_DEFINES="$DEFINES" | ||||
10 | |||||
11 | make clean -C $CWD | ||||
12 | make -C $CWD debugger -j |