[commit: ghc] ghc-8.0: ghc.mk: Use Windows_Target instead of Windows_Host (0f2cb66)
git at git.haskell.org
git at git.haskell.org
Wed Jan 13 19:34:01 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/0f2cb663e47e5912e1694efe50d94d16bce63902/ghc
>---------------------------------------------------------------
commit 0f2cb663e47e5912e1694efe50d94d16bce63902
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
(cherry picked from commit b1c063b47a6a4d078626f9a2d4b07cbb244de340)
>---------------------------------------------------------------
0f2cb663e47e5912e1694efe50d94d16bce63902
ghc.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ghc.mk b/ghc.mk
index 7bb7eee..f521ceb 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