summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-16 22:46:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-16 22:46:10 -0400
commit2e2062174a34b08f3aa61c6880fb460431d6d418 (patch)
tree55d71b2fac2fb70d9cb37c0ec7c84dede127045d /Makefile
parentf7a0da1608b738d9665bb8f33abef55f55b7b14f (diff)
squelch warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc79bb727..b45dea0ec 100644
--- a/Makefile
+++ b/Makefile
@@ -175,7 +175,9 @@ android: Build/EvilSplicer
cp -uR tmp/splices/* tmp/androidtree
# 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, /' tmp/androidtree/git-annex.cabal
-# cabal cannot cross compile with custom build type, so workaround
+# Avoid warnings due to sometimes unused imports added for the splices.
+ sed -i 's/-Wall//' 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 \
cd tmp/androidtree; \