summaryrefslogtreecommitdiff
path: root/standalone/windows/build.sh
diff options
context:
space:
mode:
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