From 40ea93f22a6b5c7187c9ddd7e6b17987d8687abc Mon Sep 17 00:00:00 2001 From: PHO Date: Wed, 16 Dec 2009 19:33:04 +0900 Subject: [PATCH] Intermediate commit for *-*-i386. Hope it works. --- files/bsd-build.mk | 18 ++++++++++++++++++ files/fallback-build.mk | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 files/bsd-build.mk create mode 100644 files/fallback-build.mk diff --git a/files/bsd-build.mk b/files/bsd-build.mk new file mode 100644 index 0000000..9a5a5da --- /dev/null +++ b/files/bsd-build.mk @@ -0,0 +1,18 @@ +GHC = false +GHC_PKG_INPLACE = +GHC_CABAL_INPLACE = +DUMMY_GHC_INPLACE = +UNLIT = +NO_INCLUDE_DEPS = YES +GhcUnregisterised = YES +GhcLibWays = v +GhcRTSWays = +SplitObjs = NO +GhcWithNativeCodeGen = NO +GhcWithInterpreter = NO +GhcWithSMP = NO +ghc_stage2_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -lutil +utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -lutil -ltermcap + +SRC_CC_OPTS += -I[[PREFIX]]/include +INTEGER_LIBRARY = integer-simple diff --git a/files/fallback-build.mk b/files/fallback-build.mk new file mode 100644 index 0000000..066ccd0 --- /dev/null +++ b/files/fallback-build.mk @@ -0,0 +1,18 @@ +GHC = false +GHC_PKG_INPLACE = +GHC_CABAL_INPLACE = +DUMMY_GHC_INPLACE = +UNLIT = +NO_INCLUDE_DEPS = YES +GhcUnregisterised = YES +GhcLibWays = v +GhcRTSWays = +SplitObjs = NO +GhcWithNativeCodeGen = NO +GhcWithInterpreter = NO +GhcWithSMP = NO +ghc_stage2_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv +utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -Llibraries/integer-gmp/gmp -L[[PREFIX]]/lib -lm -liconv -ltermcap + +SRC_CC_OPTS += -I[[PREFIX]]/include +INTEGER_LIBRARY = integer-simple -- 2.40.0