]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blobdiff - files/bootstrap-main.c
Merge branch 'ghc-7.6.2'
[pkgsrc-ghc.git] / files / bootstrap-main.c
diff --git a/files/bootstrap-main.c b/files/bootstrap-main.c
deleted file mode 100644 (file)
index ea1d2f8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "Rts.h"
-
-/* A quick and dirty hack to resurrect -fvia-C from bitrot.
- *
- * The main function has been removed from rts. It's now generated by
- * compiler/main/DriverPipeline.hs but that doesn't play nice with
- * -fvia-C.
- */
-
-extern StgClosure ZCMain_main_closure;
-
-int main(int argc, char *argv[])
-{
-    RtsConfig __conf = defaultRtsConfig;
-    __conf.rts_opts_enabled = RtsOptsAll;
-    return hs_main(argc, argv, &ZCMain_main_closure, __conf);
-}