waf: use wafConfigureFlags instead of configureFlags in setup-hook.sh
As shown in https://github.com/NixOS/nixpkgs/commit/a79a8f29bc509b2d51158846c9562e64e1239b4c, tha variable can be overriden by other functions, especially those related to cross or static compilation.
This commit is contained in:
@@ -18,7 +18,7 @@ wafConfigurePhase() {
|
||||
|
||||
local flagsArray=(
|
||||
$prefixFlag
|
||||
$configureFlags "${configureFlagsArray[@]}"
|
||||
$wafConfigureFlags "${wafConfigureFlagsArray[@]}"
|
||||
${configureTargets:-configure}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user