Commit 4ce722f7 authored by Simon Marlow's avatar Simon Marlow
Browse files

Disable the NCG if GhcUnregisterised=YES

The NCG cannot be used in an unregisterised compiler, so there's no
point in including it.
parent 931a117d
......@@ -264,7 +264,7 @@ GhcUnregisterised=NO
ArchSupportsNCG=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 powerpc)))
OsSupportsNCG=$(strip $(patsubst $(HostOS_CPP), YES, $(patsubst aix,,$(HostOS_CPP))))
ifeq "$(OsSupportsNCG)$(ArchSupportsNCG)" "YESYES"
ifeq "$(OsSupportsNCG)$(ArchSupportsNCG)$(GhcUnregisterised)" "YESYESNO"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment