Add compatibility gorp for GHC 6.6.1.
[match/match.git] / program / debug
index 7742e85..f25ff9d 100755 (executable)
@@ -1,5 +1,3 @@
 #!/bin/bash
 # Let ghci see only the source so it loads the modules debuggably.
-mkdir -p debugdir
-(cd debugdir && ln -fs ../*.hs .)
-exec ghci -i -idebugdir Test "$@"
+exec ghci -cpp -fglasgow-exts -hisuf D.hi -osuf D.o Test "$@"