Support gcc in Mac OS X build

- if `gcc` exist, use `gcc` for build, otherwise use `cc(=clang)` for build.

JerryScript-DCO-1.0-Signed-off-by: Sung-Jae Lee sjlee@mail.com
This commit is contained in:
Sung-Jae Lee
2015-09-17 01:06:11 +09:00
parent 66975236bc
commit cc7501309a
3 changed files with 19 additions and 19 deletions
-1
View File
@@ -207,7 +207,6 @@ function setup_vera() {
chmod -R u-w "$DEST" || fail_msg "$FAIL_MSG. Failed to remove write permission from '$DEST' directory contents."
}
TMP_DIR=`mktemp -d --tmpdir=./`
HOST_OS=`uname -s`
if [ "$HOST_OS" == "Darwin" ]