try to build with a gcc response file
This commit is contained in:
parent
71a25eb20e
commit
7208663b5c
1 changed files with 9 additions and 2 deletions
|
@ -41,7 +41,14 @@ touch last-incremental-failed
|
|||
|
||||
# Build git-annex
|
||||
withcyg cabal configure
|
||||
withcyg cabal build
|
||||
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
|
||||
grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
|
||||
gcc @gcc.opt
|
||||
|
||||
# Build the installer
|
||||
cabal install nsis
|
||||
|
|
Loading…
Reference in a new issue