X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=validate;h=d57a0955e651399218e410a059e488f51e0f8af2;hb=fd2bd22ed4483f949e989b827013fcda695c803a;hp=4e2352b9cbc9d64376d1c3d00e987930f858abdf;hpb=31a9d04804d9cacda35695c5397590516b964964;p=ghc-hetmet.git diff --git a/validate b/validate index 4e2352b..d57a095 100644 --- a/validate +++ b/validate @@ -48,7 +48,7 @@ done if [ "$CPUS" = "" ]; then threads=2 else - threads=$((($CPUS + 1) * 2)) # `expr $CPUS + 1` + threads=$(($CPUS + 1)) # `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