This commit is contained in:
Joey Hess 2013-12-05 23:08:59 -04:00
parent ffd3e70046
commit d6963e46d0

View file

@ -30,5 +30,6 @@ withcyg cabal build || true
# using a response file.
withcyg rm -f build.log gcc.opt
withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true
withcyg grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
"$HP/mingw/bin/gcc.exe" @gcc.opt
withcyg grep 'dist\\build\\git-annex\\git-annex.exe' build.log | withcyg grep -v Linking | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
PATH="$HP/mingw/bin:$PATH"
gcc @gcc.opt