diff options
Diffstat (limited to 'driver')
-rw-r--r-- | driver/ghc/ghc.mk | 2 | ||||
-rw-r--r-- | driver/ghci/ghc.mk | 4 | ||||
-rw-r--r-- | driver/haddock/ghc.mk | 2 |
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 |