summaryrefslogtreecommitdiff
path: root/standalone/windows/build.sh
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-06 15:08:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-06 15:08:30 -0400
commit838d717d4748b8a4354ca95fd8b10b0426352c28 (patch)
treedec34e773b3ef18468c3df1a9c5f1fc9248b81eb /standalone/windows/build.sh
parent58effe74c7e9ca92f789270849b96dcb55994bd2 (diff)
use EvilLinker on autobuilder (will probably need some more horrible path fixes)
Diffstat (limited to 'standalone/windows/build.sh')
-rwxr-xr-xstandalone/windows/build.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 9c5636c2f..18a14958e 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -47,13 +47,8 @@ touch last-incremental-failed
# Build git-annex
withcyg cabal configure
withcyg cabal build || true
-
-# Works around link failure https://ghc.haskell.org/trac/ghc/ticket/8596
-# using a response file.
-rm -f build.log gcc.opt
-withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true
-grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
-"$HP/mingw/bin/gcc.exe" @gcc.opt
+ghc --make Build/EvilLinker
+Build/EvilLinker
# Build the installer
cabal install nsis