summaryrefslogtreecommitdiff
path: root/strata/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'strata/ghc')
-rw-r--r--strata/ghc/ghc.morph12
-rw-r--r--strata/ghc/stage1-ghc.morph9
2 files changed, 21 insertions, 0 deletions
diff --git a/strata/ghc/ghc.morph b/strata/ghc/ghc.morph
new file mode 100644
index 00000000..19ba7984
--- /dev/null
+++ b/strata/ghc/ghc.morph
@@ -0,0 +1,12 @@
+name: ghc
+kind: chunk
+configure-commands:
+- |
+ ./boot
+ export CONF_CC_OPTS_STAGE2=-fno-PIE
+ export CONF_GCC_LINKER_OPTS_STAGE2=-no-pie
+ export CONF_LD_LINKER_OPTS_STAGE2=-no-pie
+ ./configure
+build-commands: []
+install-commands: []
+
diff --git a/strata/ghc/stage1-ghc.morph b/strata/ghc/stage1-ghc.morph
new file mode 100644
index 00000000..c256b2be
--- /dev/null
+++ b/strata/ghc/stage1-ghc.morph
@@ -0,0 +1,9 @@
+name: stage1-ghc
+kind: chunk
+configure-commands:
+- ./boot
+- ./configure
+build-commands:
+- make
+install-commands:
+- make install