summaryrefslogtreecommitdiff
path: root/utils/unlit
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/unlit
parent7350aaa60aaf63074202f24208497e2d64ddffb2 (diff)
downloadhaskell-5b846fa36eee0f96c4c47128706d0131f8bb4113.tar.gz
Mac OS X deployment target: piping opts through Makefiles
Diffstat (limited to 'utils/unlit')
-rw-r--r--utils/unlit/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/unlit/Makefile b/utils/unlit/Makefile
index dfa1b8db60..6323129511 100644
--- a/utils/unlit/Makefile
+++ b/utils/unlit/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=unlit.c
C_PROG=unlit
SRC_CC_OPTS += -O