X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=validate;h=b364f575851f3921b7c4495c0840de588495c29d;hb=31caec794c3978d55d79f715f21fb72948c9f300;hp=5d0afb4d2b4c191cb55669788aa5942660eebcde;hpb=f8eee63a43eb15e0025dc996a92db77d50fb2201;p=ghc-hetmet.git diff --git a/validate b/validate index 5d0afb4..b364f57 100644 --- a/validate +++ b/validate @@ -48,7 +48,7 @@ done if [ "$CPUS" = "" ]; then threads=2 else - threads=`expr $CPUS + 1` + threads=$((($CPUS + 1) * 2)) # `expr $CPUS + 1` fi if [ $testsuite_only -eq 0 ]; then @@ -64,6 +64,10 @@ if [ $no_clean -eq 0 ]; then then config_args="$config_args --with-gcc=c:/mingw/bin/gcc" fi + if [ -f c:/mingw/bin/ld.exe ] + then + config_args="$config_args --with-ld=c:/mingw/bin/ld" + fi ;; esac