summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-03-16 16:59:09 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-03-16 16:59:09 +0000
commit6cdc302f571fd759b3d9b2586df595d4ed10f55b (patch)
treed5c3b6266a4037d80c3f0fc732b65ef8ce8932bf
parentc137ecd7e6e83d0f9c39b15ccdb9f2355f243c91 (diff)
downloadhaskell-6cdc302f571fd759b3d9b2586df595d4ed10f55b.tar.gz
turn on unregisterised by default for alpha, hppa
-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)