Commit 535964b1 authored by ian@well-typed.com's avatar ian@well-typed.com

Follow Windows -> Windows_Host change in config.mk.in

parent fc461c3b
......@@ -195,7 +195,7 @@ endif
# On Windows we normally want to make a relocatable bindist, to we
# ignore flags like libdir
ifeq "$(Windows)" "YES"
ifeq "$(Windows_Host)" "YES"
RelocatableBuild = YES
else
RelocatableBuild = NO
......@@ -587,7 +587,7 @@ endif
# The .hsc files aren't currently safe for cross-compilation on Windows:
# libraries\haskeline\.\System\Console\Haskeline\Backend\Win32.hsc:160
# directive "let" is not safe for cross-compilation
ifneq "$(Windows)" "YES"
ifneq "$(Windows_Host)" "YES"
SRC_HSC2HS_OPTS += --cross-safe
endif
SRC_HSC2HS_OPTS += $(addprefix --cflag=,$(filter-out -O,$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE0)))
......@@ -703,7 +703,7 @@ LdHasNoCompactUnwind = @LdHasNoCompactUnwind@
# xargs: value for -s option should be < 28153
# so we now use 20000 to be comfortably below this bound
XARGS = xargs
ifeq "$(Windows)" "YES"
ifeq "$(Windows_Host)" "YES"
XARGS_OPTS = -s 20000
endif
......@@ -741,7 +741,7 @@ TAR_CMD = @TarCmd@
BZIP2_CMD = bzip2
GZIP_CMD = gzip
ifeq "$(Windows)" "YES"
ifeq "$(Windows_Host)" "YES"
TOUCH_CMD = $(utils/touchy_dist_INPLACE)
TOUCH_DEP = $(TOUCH_CMD)
else
......
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