blob: 9361f58ec4fe2f7fc9af2c110b942a1890eaa0fd [file] [log] [blame]
#!/bin/sh
set -e
ARGS=("$@")
mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore"
cd "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore"
/bin/ln -sfh "${SRCROOT}" JavaScriptCore
export JavaScriptCore="JavaScriptCore"
export BUILT_PRODUCTS_DIR="../.."
make --no-builtin-rules -f "JavaScriptCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.ncpu` "${ARGS[@]}"