try to run the right gcc

This commit is contained in:
Joey Hess 2013-12-05 17:29:21 -04:00
parent 618f17b5d1
commit c4486026e7

View file

@ -48,7 +48,7 @@ withcyg cabal build || true
rm -f build.log gcc.opt
withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1
grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
withcyg gcc @gcc.opt
"$HP/mingw/bin/gcc.exe" @gcc.opt
# Build the installer
cabal install nsis