summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-12 16:40:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-12 16:40:24 -0400
commit79a3398d4cb3837d51d4431a2bb29a7a70a8f335 (patch)
tree4853db8c224d8a317426021965ed564bff35ca95
parent0dba6d2aeefc7755a7674d2c6e1598a238d99412 (diff)
pass -O0 in fast mode
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c26890af7..35109819b 100644
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ androidapp:
# We bypass cabal, and only run the main ghc --make command for a
# fast development built. Note: Does not rebuild C libraries.
fast: dist/caballog
- @$$(grep 'ghc --make' dist/caballog | head -n 1)
+ @$$(grep 'ghc --make' dist/caballog | head -n 1 | sed -e 's/-package-id [^ ]*//g' -e 's/-hide-all-packages//') -O0
@ln -sf dist/build/git-annex/git-annex git-annex
@$(MAKE) tags >/dev/null 2>&1