summaryrefslogtreecommitdiff
path: root/utils/lndir
diff options
context:
space:
mode:
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>2008-02-21 22:44:49 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2008-02-21 22:44:49 +0000
commit5b846fa36eee0f96c4c47128706d0131f8bb4113 (patch)
tree1991038fe55b93d063958dfe8fe230b1911f2a28 /utils/lndir
parent7350aaa60aaf63074202f24208497e2d64ddffb2 (diff)
downloadhaskell-5b846fa36eee0f96c4c47128706d0131f8bb4113.tar.gz
Mac OS X deployment target: piping opts through Makefiles
Diffstat (limited to 'utils/lndir')
-rw-r--r--utils/lndir/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/lndir/Makefile b/utils/lndir/Makefile
index c8223df094..4334c0d535 100644
--- a/utils/lndir/Makefile
+++ b/utils/lndir/Makefile
@@ -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