Fix an nasty black hole, concerning computation of isRecursiveTyCon
[ghc-hetmet.git] / utils / unlit / Makefile
index 15e7fc4..1723a08 100644 (file)
@@ -1,6 +1,12 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
+# Exclude for booting
+ifeq "$(stage)" "2"
+SRC_CC_OPTS += $(MACOSX_DEPLOYMENT_CC_OPTS)
+SRC_LD_OPTS += $(MACOSX_DEPLOYMENT_LD_OPTS)
+endif
+
 C_SRCS=unlit.c
 C_PROG=unlit
 SRC_CC_OPTS += -O
@@ -13,4 +19,7 @@ boot :: all
 #
 INSTALL_LIBEXECS += $(C_PROG)
 
+BINDIST_EXTRAS += $(C_PROG)
+include $(TOP)/mk/bindist.mk
+
 include $(TOP)/mk/target.mk