summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-10 13:52:13 +0000
committerIan Lynagh <igloo@earth.li>2008-07-10 13:52:13 +0000
commit3b3fee836284d09422562e1df88febcfb3200eb9 (patch)
tree482aee7101eb283183c88624f51009d39a0b5ccd /mk
parent145c696c44d201e57e33a308142b7f41aac611db (diff)
downloadhaskell-3b3fee836284d09422562e1df88febcfb3200eb9.tar.gz
Move the definition of NONEXISTENT into the central cabal-flags.mk
Diffstat (limited to 'mk')
-rw-r--r--mk/cabal-flags.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/cabal-flags.mk b/mk/cabal-flags.mk
index 9b2ed2a0c2..ad01deb667 100644
--- a/mk/cabal-flags.mk
+++ b/mk/cabal-flags.mk
@@ -35,6 +35,12 @@ endif
COMMON_CONFIGURE_FLAGS += $(FLAGGED_CONFIGURE_ARGS) \
--configure-option=--with-cc=$(CC)
+ifeq "$(Windows)" "YES"
+NONEXISTENT=c:/NONEXISTENT
+else
+NONEXISTENT=/NONEXISTENT
+endif
+
# We put non-existant paths in when configuring things that we plan to
# install, as we require that builds don't depend on these paths when
# making bindists.