projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mac OS X deployment target: piping opts through Makefiles
[ghc-hetmet.git]
/
utils
/
prof
/
cgprof
/
Makefile
diff --git
a/utils/prof/cgprof/Makefile
b/utils/prof/cgprof/Makefile
index
bac0ab7
..
acd71e9
100644
(file)
--- a/
utils/prof/cgprof/Makefile
+++ b/
utils/prof/cgprof/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_PROG = cgprof
INSTALL_LIBEXECS=$(C_PROG)