diff --git a/pkgs/stdenv/generic/setup-new2.sh b/pkgs/stdenv/generic/setup-new2.sh index 595f0f364905..869f51e4f3db 100644 --- a/pkgs/stdenv/generic/setup-new2.sh +++ b/pkgs/stdenv/generic/setup-new2.sh @@ -597,8 +597,10 @@ checkW() { checkTarget="check" fi - echo "check flags: $checkFlags ${checkFlagsArray[@]}" - make $checkFlags "${checkFlagsArray[@]}" $checkTarget || fail + echo "check flags: $makeFlags ${makeFlagsArray[@]} $checkFlags ${checkFlagsArray[@]}" + make \ + $makeFlags ${makeFlagsArray[@]} \ + $checkFlags "${checkFlagsArray[@]}" $checkTarget || fail }