update submodules for GHC.HetMet.GArrow -> Control.GArrow renaming
[ghc-hetmet.git] / utils / lndir / Makefile
index c8223df..43e61c1 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=lndir.c
 C_PROG=lndir
 
@@ -9,7 +15,3 @@ DESTDIR=$(INSTBINDIR)
 
 include $(TOP)/mk/target.mk
 
-# Win32: cygwin supports symlinks, so make sure we
-#        don't feed in the mingw flags here. In other
-#        words, lndir.exe is a cygwin-based app.
-CC_OPTS := $(filter-out -mno-cygwin,$(CC_OPTS))