The parser needs a set of parentheses when we don't use unsafeCoerce.
[ghc-hetmet.git] / mk / config.mk.in
index 67b69d8..8a495b0 100644 (file)
@@ -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"
 GhcWithNativeCodeGen=YES
 else
 GhcWithNativeCodeGen=NO