[commit: ghc] master: Fix PowerPC build (ba80fc6)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:56:20 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ba80fc6ac51fe46cc51c77c5f6d2a23af335c180/ghc

>---------------------------------------------------------------

commit ba80fc6ac51fe46cc51c77c5f6d2a23af335c180
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Fri Dec 18 20:21:19 2015 +1100

    Fix PowerPC build
    
    Summary:
    Replace incorrect `ppc_HOST_ARCH` with `powerpc_HOST_ARCH`.
    
    Test Plan: Build on PowerPC
    
    Reviewers: hvr, austin, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1651


>---------------------------------------------------------------

ba80fc6ac51fe46cc51c77c5f6d2a23af335c180
 libraries/ghci/GHCi/InfoTable.hsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/ghci/GHCi/InfoTable.hsc b/libraries/ghci/GHCi/InfoTable.hsc
index 1a1116f..c32f3a4 100644
--- a/libraries/ghci/GHCi/InfoTable.hsc
+++ b/libraries/ghci/GHCi/InfoTable.hsc
@@ -63,7 +63,7 @@ platform :: Arch
 platform =
 #if defined(sparc_HOST_ARCH)
        ArchSparc
-#elif defined(ppc_HOST_ARCH)
+#elif defined(powerpc_HOST_ARCH)
        ArchPPC
 #elif defined(x86_HOST_ARCH)
        ArchX86



More information about the ghc-commits mailing list