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:
Anderson Torres
2023-09-06 10:41:28 -03:00
parent f2f9262b92
commit cad7cea44a
@@ -18,7 +18,7 @@ wafConfigurePhase() {
local flagsArray=(
$prefixFlag
$configureFlags "${configureFlagsArray[@]}"
$wafConfigureFlags "${wafConfigureFlagsArray[@]}"
${configureTargets:-configure}
)