X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=build-hc-pkg.git;a=blobdiff_plain;f=files%2Fhost-build.mk;fp=files%2Fhost-build.mk;h=326330296bb9699e489f9984e91759ba88643d2d;hp=0000000000000000000000000000000000000000;hb=2a032631b7bfccfa2044dd50863d0e1c119c8b2e;hpb=7b8684199160e0da113ddeb5a1b13afb5a415d32 diff --git a/files/host-build.mk b/files/host-build.mk new file mode 100644 index 0000000..3263302 --- /dev/null +++ b/files/host-build.mk @@ -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