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:
parent
4ebab3de1e
commit
a16c04c9d3
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue