summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/config.mk.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 8a495b0cbc..edfff7c385 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -252,7 +252,11 @@ GhcStage3HcOpts=
# the compiler you build with is generating registerised binaries), but
# the stage2 compiler will be an unregisterised binary.
#
+ifneq "$(findstring $(HostArch_CPP), alpha hppa)" ""
+GhcUnregisterised=YES
+else
GhcUnregisterised=NO
+endif
# Build a compiler with a native code generator backend
# (as well as a C backend)