diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-02 19:38:23 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-04-02 19:45:38 +0100 |
| commit | cb18447c75e7673d5f57056fbdaa370d11e4c05e (patch) | |
| tree | 32f454a79e5c9f2976b9cbb0fd89636c785f6a26 | |
| parent | 115e7ebfaad36327b7b38f112282f6e84d267c88 (diff) | |
| download | haskell-cb18447c75e7673d5f57056fbdaa370d11e4c05e.tar.gz | |
configure.ac: fix NCG support in --target=
Before this change attempt to build a crosscompiler
on registerised platform (--host=x86_64-pc-linux-gnu)
targeting UNREG platform failed:
$ ./configure --target=ia64-unknown-linux-gnu
utils/genapply/../../includes/stg/MachRegs.h:608:2: error:
#error Cannot find platform to give register info for
The change is to check --target= for NCG availability,
not --host=.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c7eac4ae3e..65430bf0b6 100644 --- a/configure.ac +++ b/configure.ac @@ -241,7 +241,7 @@ AC_SUBST(SOLARIS_BROKEN_SHLD) dnl ** Do an unregisterised build? dnl -------------------------------------------------------------- -case "$HostArch" in +case "$TargetArch" in i386|x86_64|powerpc|powerpc64|powerpc64le|arm) UnregisterisedDefault=NO ;; |
