Remove disable gold flag and enable clang in build.sh
Change-Id: I497234ed6285785e5b8905d03c44adb9b9eda4ab
This commit is contained in:
parent
e6df0ffb21
commit
efa270963e
7
build.sh
7
build.sh
|
@ -34,7 +34,9 @@ function setup_packager_env() {
|
||||||
fi
|
fi
|
||||||
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 BUILDTYPE="${type}"
|
||||||
|
|
||||||
export BUILD_OUT="."
|
export BUILD_OUT="."
|
||||||
|
@ -44,4 +46,7 @@ function setup_packager_env() {
|
||||||
|
|
||||||
export GYP_GENERATORS="ninja"
|
export GYP_GENERATORS="ninja"
|
||||||
setup_packager_env $@
|
setup_packager_env $@
|
||||||
|
|
||||||
|
# Note: If this fails due to some error about "not having clang", read the note
|
||||||
|
# above.
|
||||||
ninja -C "out/${BUILDTYPE}" $2
|
ninja -C "out/${BUILDTYPE}" $2
|
||||||
|
|
Loading…
Reference in New Issue