[NaCl] update build-nacl.sh

This commit is contained in:
Sam Clegg 2013-05-06 13:27:13 -07:00 committed by Sam Clegg
parent 04d7d5a061
commit 2469045640
1 changed files with 3 additions and 9 deletions

View File

@ -1,9 +1,9 @@
#!/bin/bash
# Build script to build all components for Native Client.
#
# By default this script will only build debug versions.
# Pass "all" as an argument to build clean and also build
# release config.
# By default this script will build the 'all' target in
# both debug and release configurations. Pass "clean" to
# clean all configuration.
#
# Before running this script you need to set NACL_SDK_ROOT
# and add the NaCl compiler bin folder to your path.
@ -33,12 +33,6 @@ mkdir -p $OUTPUT_RELEASE
export MAKEFLAGS="-j10 PLATFORM=nacl"
if [ "$1" = "clean" ]; then
make DEBUG=1 clean
make DEBUG=0 clean
exit 0
fi
make NACL_ARCH=x86_64 DEBUG=1 $*
make NACL_ARCH=x86_64 DEBUG=0 $*