summaryrefslogtreecommitdiff
path: root/doc/bugs/the_tip_at_commit_6cecc26206c4a539999b04664136c6f785211a41_disables_the_watch_command_on_OSX.mdwn
blob: 1ee4781d10795f9d8de1760faaf2a26263efff48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
The recent commit 6cecc26206c4a539999b04664136c6f785211a41 seems to have disabled the watch command on OSX, this certainly is the case when I try to run the webapp.

The following fixes the makefile

<pre>
x00:git-annex jtang$ git diff
diff --git a/Makefile b/Makefile
index 9f312dc..4a74e71 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ endif
 endif
 
 PREFIX=/usr
-GHCFLAGS=-O2 $(BASEFLAGS) $(FEATURES)
+GHCFLAGS=-O2 $(BASEFLAGS) $(FEATURES) $(OPTFLAGS)
 
 ifdef PROFILE
 GHCFLAGS=-prof -auto-all -rtsopts -caf-all -fforce-recomp $(BASEFLAGS) $(FEATURES) $(OPTFLAGS)
</pre>

> [[done]] --[[Joey]]