From ca33aa89d924e432838fda4efa5116c355d29ff9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 21 Apr 2013 18:19:14 +0100 Subject: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs; Fixes #7761. Patch from Stephen Blackheath. --- rules/distdir-opts.mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'rules') 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 \ -- cgit v1.2.1