pkg(pony-0.39.0): Pass -j as build flags rather than forcing it to the make command.

This commit is contained in:
Shivansh-007 2021-03-27 16:13:59 +05:30
parent d1cbf76f3e
commit 00c6d0e6ae

View file

@ -7,10 +7,10 @@ curl -OL "https://github.com/ponylang/ponyc/archive/refs/tags/0.39.0.tar.gz"
tar xfz 0.39.0.tar.gz
# Build the vendored LLVM libraries that are included in the `lib/llvm/src`.
make libs -j$(nproc)
make libs build_flags="-j$(nproc)"
# Configure the CMake build directory.
make configure
# Will build ponyc and put it in `build/release`.
make build
# Install ponyc into `$PREFIX`.
make prefix="$PREFIX" install -j$(nproc)
make prefix="$PREFIX" install