3
0
Fork 0
forked from mirrors/nixpkgs

ninja: don’t use build/install/check flags in setup-hook

These don’t have much use in ninja, so easiest to leave them out.
This commit is contained in:
Matthew Bauer 2018-11-18 19:03:03 -06:00
parent 4ebab3de1e
commit a16c04c9d3

View file

@ -11,7 +11,6 @@ ninjaBuildPhase() {
local flagsArray=(
-j$buildCores -l$buildCores
$ninjaFlags "${ninjaFlagsArray[@]}"
$buildFlags "${buildFlagsArray[@]}"
)
echoCmd 'build flags' "${flagsArray[@]}"
@ -31,7 +30,6 @@ ninjaInstallPhase() {
# shellcheck disable=SC2086
local flagsArray=(
$ninjaFlags "${ninjaFlagsArray[@]}"
$installFlags "${installFlagsArray[@]}"
${installTargets:-install}
)
@ -67,7 +65,6 @@ ninjaCheckPhase() {
local flagsArray=(
-j$buildCores -l$buildCores
$ninjaFlags "${ninjaFlagsArray[@]}"
$checkFlags "${checkFlagsArray[@]}"
$checkTarget
)