[GHC] #7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs by stage

#7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs by stage ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: feature request | Status: new Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: 7724 | Related: ------------------------------+--------------------------------------------- Currently hsc2hs always gets the build host's values, even when cross compiling. This patch makes it pass the correct values for the stage. There is no actual build failure that results from this being wrong, but it is only a matter of time before something breaks. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7761 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs by stage ------------------------------+--------------------------------------------- Reporter: StephenBlackheath | Owner: Type: feature request | Status: patch Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: 7724 | Related: ------------------------------+--------------------------------------------- Changes (by StephenBlackheath): * status: new => patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7761#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs by stage ----------------------------------+----------------------------------------- Reporter: StephenBlackheath | Owner: Type: feature request | Status: patch Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: 7724 Related: | ----------------------------------+----------------------------------------- Changes (by igloo): * difficulty: => Unknown * milestone: => 7.8.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7761#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to
hsc2hs by stage
----------------------------------+-----------------------------------------
Reporter: StephenBlackheath | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking: 7724
Related: |
----------------------------------+-----------------------------------------
Comment(by ian@…):
commit ca33aa89d924e432838fda4efa5116c355d29ff9
{{{
Author: Ian Lynagh

#7761: iOS patch no 16: pass the correct -Dxxx_HOST_ARCH and -Dxxx_HOST_OS to hsc2hs by stage --------------------------------+------------------------------------------- Reporter: StephenBlackheath | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: 7724 | Related: --------------------------------+------------------------------------------- Changes (by igloo): * status: patch => closed * resolution: => fixed Comment: Applied, thanks! -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7761#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC