X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=validate;h=d57a0955e651399218e410a059e488f51e0f8af2;hb=c990e97592ea48e74f8e1c51ab59666decaacd6d;hp=5d0afb4d2b4c191cb55669788aa5942660eebcde;hpb=f8eee63a43eb15e0025dc996a92db77d50fb2201;p=ghc-hetmet.git diff --git a/validate b/validate index 5d0afb4..d57a095 100644 --- a/validate +++ b/validate @@ -48,7 +48,7 @@ done if [ "$CPUS" = "" ]; then threads=2 else - threads=`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