summaryrefslogtreecommitdiff
path: root/rts/hooks/RtsOpts.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/hooks/RtsOpts.c')
-rw-r--r--rts/hooks/RtsOpts.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/rts/hooks/RtsOpts.c b/rts/hooks/RtsOpts.c
new file mode 100644
index 0000000000..b934b05f1b
--- /dev/null
+++ b/rts/hooks/RtsOpts.c
@@ -0,0 +1,13 @@
+/* -----------------------------------------------------------------------------
+ *
+ * Default RTS options.
+ *
+ * ---------------------------------------------------------------------------*/
+
+#include "Rts.h"
+
+#include <stdlib.h>
+
+// Default RTS options can be given by providing an alternate
+// definition for this variable, pointing to a string of RTS options.
+char *ghc_rts_opts = NULL;