Commit c4aefec7 authored by simonmar's avatar simonmar

[project @ 2005-11-23 12:23:10 by simonmar]

fix up the GhcWithNativeCodeGen logic
parent 8a223184
......@@ -255,7 +255,11 @@ GhcUnregisterised=NO
# Target platforms supported:
# i386, powerpc
# sparc has bitrotted
ifneq "$(findstring $(HostArch_CPP), i386 x86_64 powerpc)" ""
# AIX is not supported
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"
GhcWithNativeCodeGen=YES
else
GhcWithNativeCodeGen=NO
......
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