summaryrefslogtreecommitdiff
path: root/ghci
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-17 23:04:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-20 16:20:42 -0400
commit590fd490750e84c62d8669cb2db6885e26cc17cd (patch)
treebb01e72ad1059c05b0848bc3c5b44623302cf809 /ghci
parent3165e815046787d47c283a32c7f87f504aceda9f (diff)
workaround for ghci fragility in reusing objects compiled with ghc
Diffstat (limited to 'ghci')
-rwxr-xr-xghci5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghci b/ghci
new file mode 100755
index 000000000..57361281c
--- /dev/null
+++ b/ghci
@@ -0,0 +1,5 @@
+#!/bin/sh
+# This runs ghci with the same flags used when compiling with ghc.
+# Certian flags need to be the same in order for ghci to reuse compiled
+# objects.
+ghci $(make getflags) $@