summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-18 12:50:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-18 12:50:59 -0400
commit3fa062bb3e71fb7cabc0b6814d22bcbe7602f275 (patch)
tree5ce0dce01a1037b6368eaf18818fc35d1b2bf69f /Makefile
parent1ce5213110774c639b220230f14a660f590ce45a (diff)
build fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a3c5b688..0948e0687 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ android: Build/EvilSplicer
# Some additional dependencies needed by the expanded splices.
sed -i 's/^ Build-Depends: / Build-Depends: yesod-routes, yesod-core, shakespeare-css, shakespeare-js, shakespeare, blaze-markup, file-embed, wai-app-static, /' tmp/androidtree/git-annex.cabal
# Avoid warnings due to sometimes unused imports added for the splices.
- sed -i 's/-Wall/-Wall -fno-warn-unused-imports/' tmp/androidtree/git-annex.cabal
+ sed -i 's/GHC-Options: /GHC-Options: -fno-warn-unused-imports/i' tmp/androidtree/git-annex.cabal
# Cabal cannot cross compile with custom build type, so workaround.
sed -i 's/Build-type: Custom/Build-type: Simple/' tmp/androidtree/git-annex.cabal
if [ ! -e tmp/androidtree/dist/setup/setup ]; then \