[commit: ghc] master: configure: Look for objdump on OpenBSD and AIX (a9b62a3)

git at git.haskell.org git at git.haskell.org
Mon Jun 19 12:16:30 UTC 2017


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

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

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

commit a9b62a3e883e536724602bce2a5bb8a21eba02cc
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sun Jun 18 16:50:51 2017 -0400

    configure: Look for objdump on OpenBSD and AIX
    
    deriveConstants requires objdump for both of these operating systems, in
    addition to Windows. See #13812.
    
    Test Plan: Validate on OpenBSD and AIX
    
    Reviewers: hvr, austin
    
    Reviewed By: hvr
    
    Subscribers: rwbarton, thomie, erikd
    
    GHC Trac Issues: #13812
    
    Differential Revision: https://phabricator.haskell.org/D3638


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

a9b62a3e883e536724602bce2a5bb8a21eba02cc
 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d7c6ad8..3c5e17a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -565,9 +565,10 @@ fi
 
 dnl ** Which objdump to use?
 dnl --------------------------------------------------------------
-dnl Note: we may not have objdump on OS X, and we only need it on Windows (for DLL checks)
+dnl Note: we may not have objdump on OS X, and we only need it on
+dnl Windows (for DLL checks), OpenBSD, and AIX
 case $HostOS_CPP in
-  cygwin32|mingw32)
+  cygwin32|mingw32|openbsd|aix)
     AC_CHECK_TARGET_TOOL([OBJDUMP], [objdump])
     ;;
 esac



More information about the ghc-commits mailing list