diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index 5216bd563094..59b460bdf62c 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -166,7 +166,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { $MAKEOPTS = "$MAKEOPTS $ARGV[0]"; shift; next; } if (/^-use-gmake/) { - $MAKECMD = "ARGV[0]"; shift; next; + $MAKECMD = "gmake"; shift; next; } if (/^-extraflags/) { $PROGTESTOPTS .= " EXTRA_FLAGS=\'$ARGV[0]\'"; shift; next;