Remove disable gold flag and enable clang in build.sh

Change-Id: I497234ed6285785e5b8905d03c44adb9b9eda4ab
This commit is contained in:
Rintaro Kuroiwa 2014-01-16 15:34:19 -08:00
parent e6df0ffb21
commit efa270963e
1 changed files with 6 additions and 1 deletions

View File

@ -34,7 +34,9 @@ function setup_packager_env() {
fi
fi
export GYP_DEFINES="linux_use_gold_flags=0 use_openssl=1"
# Note: You'd have to run ./tools/clang/scripts/update.sh before you run GYP
# with clang=1 flag.
export GYP_DEFINES="clang=1 use_openssl=1"
export BUILDTYPE="${type}"
export BUILD_OUT="."
@ -44,4 +46,7 @@ function setup_packager_env() {
export GYP_GENERATORS="ninja"
setup_packager_env $@
# Note: If this fails due to some error about "not having clang", read the note
# above.
ninja -C "out/${BUILDTYPE}" $2