[commit: ghc] master: ghc.mk: Use Windows_Target instead of Windows_Host (b1c063b)
git at git.haskell.org
git at git.haskell.org
Sun Jan 10 08:59:50 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b1c063b47a6a4d078626f9a2d4b07cbb244de340/ghc
>---------------------------------------------------------------
commit b1c063b47a6a4d078626f9a2d4b07cbb244de340
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Sun Jan 10 09:28:47 2016 +1000
ghc.mk: Use Windows_Target instead of Windows_Host
This is a step towards building a Linux to Windows cross-compiler.
Test Plan: Build on Linux and Windows
Reviewers: bgamari, hvr, austin, Phyx
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1758
GHC Trac Issues: #10070
>---------------------------------------------------------------
b1c063b47a6a4d078626f9a2d4b07cbb244de340
ghc.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ghc.mk b/ghc.mk
index 878ddc8..1d6f02b 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -428,11 +428,11 @@ PACKAGES_STAGE1 += deepseq
PACKAGES_STAGE1 += bytestring
PACKAGES_STAGE1 += containers
-ifeq "$(Windows_Host)" "YES"
+ifeq "$(Windows_Target)" "YES"
PACKAGES_STAGE1 += Win32
endif
PACKAGES_STAGE1 += time
-ifeq "$(Windows_Host)" "NO"
+ifeq "$(Windows_Target)" "NO"
PACKAGES_STAGE1 += unix
endif
More information about the ghc-commits
mailing list