projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change how the dblatex/lndir problem is worked around
[ghc-hetmet.git]
/
utils
/
lndir
/
Makefile
diff --git
a/utils/lndir/Makefile
b/utils/lndir/Makefile
index
c8223df
..
43e61c1
100644
(file)
--- a/
utils/lndir/Makefile
+++ b/
utils/lndir/Makefile
@@
-1,6
+1,12
@@
TOP=../..
include $(TOP)/mk/boilerplate.mk
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
C_SRCS=lndir.c
C_PROG=lndir
@@
-9,7
+15,3
@@
DESTDIR=$(INSTBINDIR)
include $(TOP)/mk/target.mk
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))