configure.ac: fix NCG support in --target=
[ghc.git] / configure.ac
index c7eac4a..65430bf 100644 (file)
@@ -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
         ;;