diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-01-10 09:28:47 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-01-10 20:00:30 +1100 |
commit | b1c063b47a6a4d078626f9a2d4b07cbb244de340 (patch) | |
tree | c0123fc09e67d270f584bd8825604c658e5b4d56 /ghc.mk | |
parent | 4c9620fc0fd4d2fee7920633a8b03776a8f0948d (diff) | |
download | haskell-b1c063b47a6a4d078626f9a2d4b07cbb244de340.tar.gz |
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
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |