summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-04-21 18:19:14 +0100
committerIan Lynagh <ian@well-typed.com>2013-04-21 18:19:14 +0100
commitca33aa89d924e432838fda4efa5116c355d29ff9 (patch)
tree7924029fde58c0e109a20f59cc101aa4c27f7d7d /rules
parente7817396e8ec5c45689b1c7d6fa852623bb12b33 (diff)
downloadhaskell-ca33aa89d924e432838fda4efa5116c355d29ff9.tar.gz
pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs; Fixes #7761.
Patch from Stephen Blackheath.
Diffstat (limited to 'rules')
-rw-r--r--rules/distdir-opts.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules/distdir-opts.mk b/rules/distdir-opts.mk
index 0009f8582a..b43eb1b2fa 100644
--- a/rules/distdir-opts.mk
+++ b/rules/distdir-opts.mk
@@ -89,8 +89,6 @@ $1_$2_ALL_HSC2HS_OPTS = \
$$(SRC_HSC2HS_OPTS) \
$$(SRC_HSC2HS_OPTS_STAGE$3) \
--cflag=-D__GLASGOW_HASKELL__=$$(if $$(filter 0,$3),$$(GhcCanonVersion),$$(ProjectVersionInt)) \
- --cflag=-D$$(HostArch_CPP)_HOST_ARCH=1 \
- --cflag=-D$$(HostOS_CPP)_HOST_OS=1 \
$$($1_$2_HSC2HS_CC_OPTS) \
$$($1_$2_HSC2HS_LD_OPTS) \
--cflag=-I$1/$2/build/autogen \