# -*- makefile-gmake -*- 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 ifeq ($(shell uname),Linux) # To find out why evacuate() segfaults on Linux... rts_CC_OPTS += -O0 -g # ...but this stops ghc-stage2 from segfaulting. Sigh. endif