summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-01 21:46:02 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-01 21:46:02 +0000
commitffb2a8c216ad8791422008cc92c8048f4528bbf4 (patch)
tree466be3c907ab5ba516d272af652ddabac409ac6e /driver
parent45ee44d8229a27aa38c99c21e1240484ba27732c (diff)
downloadhaskell-ffb2a8c216ad8791422008cc92c8048f4528bbf4.tar.gz
Rename $(Windows) to $(Windows_Host)
Diffstat (limited to 'driver')
-rw-r--r--driver/ghc/ghc.mk2
-rw-r--r--driver/ghci/ghc.mk4
-rw-r--r--driver/haddock/ghc.mk2
3 files changed, 4 insertions, 4 deletions
diff --git a/driver/ghc/ghc.mk b/driver/ghc/ghc.mk
index 688a3f6a47..dee9d5715c 100644
--- a/driver/ghc/ghc.mk
+++ b/driver/ghc/ghc.mk
@@ -10,7 +10,7 @@
#
# -----------------------------------------------------------------------------
-ifeq "$(Windows)" "YES"
+ifeq "$(Windows_Host)" "YES"
driver/ghc_dist_C_SRCS = ghc.c ../utils/cwrapper.c ../utils/getLocation.c
driver/ghc_dist_CC_OPTS += -I driver/utils
diff --git a/driver/ghci/ghc.mk b/driver/ghci/ghc.mk
index 4b41849a21..ad11ee1528 100644
--- a/driver/ghci/ghc.mk
+++ b/driver/ghci/ghc.mk
@@ -10,7 +10,7 @@
#
# -----------------------------------------------------------------------------
-ifneq "$(Windows)" "YES"
+ifneq "$(Windows_Host)" "YES"
install: install_driver_ghci
@@ -26,7 +26,7 @@ install_driver_ghci:
$(call removeFiles,"$(DESTDIR)$(bindir)/ghci")
$(LN_S) ghci-$(ProjectVersion) "$(DESTDIR)$(bindir)/ghci"
-else # Windows...
+else # Windows_Host...
driver/ghci_dist_C_SRCS = ghci.c ../utils/cwrapper.c ../utils/getLocation.c
driver/ghci_dist_CC_OPTS += -I driver/utils
diff --git a/driver/haddock/ghc.mk b/driver/haddock/ghc.mk
index f95559ce8f..06a6cecc30 100644
--- a/driver/haddock/ghc.mk
+++ b/driver/haddock/ghc.mk
@@ -10,7 +10,7 @@
#
# -----------------------------------------------------------------------------
-ifeq "$(Windows)" "YES"
+ifeq "$(Windows_Host)" "YES"
driver/haddock_dist_C_SRCS = haddock.c ../utils/cwrapper.c ../utils/getLocation.c
driver/haddock_dist_CC_OPTS += -I driver/utils