ref: de950d251f376d1f6eb3c76a16f005b0349eef3b
parent: f68cd92fd6cf67edf58129a14032a40827d6740b
author: Lennart Augustsson <lennart@augustsson.net>
date: Sun Oct 29 19:25:13 EDT 2023
Make it compile cleanly with newer ghc
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@
### Build the compiler with ghc, using standard libraries (Prelude, Data.List, etc)
###
$(BIN)/$(MHS): src/*.hs src/*/*.hs $(TOOLS)/convertX.sh
- $(GHCE) -ighc -isrc -Wall -O src/MicroHs/Main.hs -main-is MicroHs.Main -o $(BIN)/$(MHS)
+ $(GHCE) -ighc -isrc -Wall -Wno-x-partial -O src/MicroHs/Main.hs -main-is MicroHs.Main -o $(BIN)/$(MHS)
###
### Build the compiler with ghc, using MicroHs libraries (Prelude, Data.List, etc)
@@ -54,6 +54,7 @@
$(GHCB) -c ghc/PrimTable.hs
$(GHCC) -c lib/Control/Error.hs
$(GHCC) -c lib/Data/Eq.hs
+ $(GHCC) -c lib/Data/Ord.hs
$(GHCC) -c lib/Data/Bool.hs
$(GHCC) -c lib/Data/Tuple.hs
$(GHCC) -c lib/Data/Function.hs
--
⑨