]> gitweb @ CieloNegro.org - build-hc-pkg.git/blobdiff - files/host-build.mk
build-hc-pkg seems to be mature now.
[build-hc-pkg.git] / files / host-build.mk
diff --git a/files/host-build.mk b/files/host-build.mk
new file mode 100644 (file)
index 0000000..3263302
--- /dev/null
@@ -0,0 +1,19 @@
+PORTING_HOST = YES
+GhcUnregisterised = YES
+GhcLibHcOpts = -O -fvia-C -keep-hc-files
+GhcRtsHcOpts = -keep-hc-files
+GhcLibWays = v
+GhcRTSWays =
+SplitObjs = NO
+GhcWithNativeCodeGen = NO
+GhcWithInterpreter = NO
+GhcStage1HcOpts = -O
+GhcStage2HcOpts = -O -fvia-C -keep-hc-files
+SRC_HC_OPTS += -H32m
+GhcWithSMP = NO
+utils/ghc-pkg_dist-install_v_HC_OPTS += -keep-hc-files
+
+INTEGER_LIBRARY = integer-simple
+libraries/terminfo_CONFIGURE_OPTS += \
+       --configure-option=--with-curses-includes=/usr/pkg/include \
+       --configure-option=--with-curses-libraries=/usr/pkg/lib