squelch warnings
This commit is contained in:
parent
ab905a55fb
commit
96a5f19f3f
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -175,7 +175,9 @@ android: Build/EvilSplicer
|
||||||
cp -uR tmp/splices/* tmp/androidtree
|
cp -uR tmp/splices/* tmp/androidtree
|
||||||
# Some additional dependencies needed by the expanded splices.
|
# 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
|
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
|
sed -i 's/Build-type: Custom/Build-type: Simple/' tmp/androidtree/git-annex.cabal
|
||||||
if [ ! -e tmp/androidtree/dist/setup/setup ]; then \
|
if [ ! -e tmp/androidtree/dist/setup/setup ]; then \
|
||||||
cd tmp/androidtree; \
|
cd tmp/androidtree; \
|
||||||
|
|
Loading…
Reference in a new issue