Commit b1c063b4 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

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
parent 4c9620fc
...@@ -428,11 +428,11 @@ PACKAGES_STAGE1 += deepseq ...@@ -428,11 +428,11 @@ PACKAGES_STAGE1 += deepseq
PACKAGES_STAGE1 += bytestring PACKAGES_STAGE1 += bytestring
PACKAGES_STAGE1 += containers PACKAGES_STAGE1 += containers
ifeq "$(Windows_Host)" "YES" ifeq "$(Windows_Target)" "YES"
PACKAGES_STAGE1 += Win32 PACKAGES_STAGE1 += Win32
endif endif
PACKAGES_STAGE1 += time PACKAGES_STAGE1 += time
ifeq "$(Windows_Host)" "NO" ifeq "$(Windows_Target)" "NO"
PACKAGES_STAGE1 += unix PACKAGES_STAGE1 += unix
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment