X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=da16624adb9dd431916b77526ed285a3cc6432e4;hb=be44afec1ec075e7546118dddec42729d22d4c47;hp=2e0f71c4429e3e1776fb7be8a7a726ea316d7213;hpb=8df809e4ce2319cccd91b14a74e13c879faaf357;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 2e0f71c..da16624 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -257,6 +257,14 @@ GhcWithJavaGen=NO HaveLibDL = @HaveLibDL@ +ArchSupportsSMP=$(strip $(patsubst $(HostArch_CPP), YES, $(findstring $(HostArch_CPP), i386 x86_64 sparc))) + +ifeq "$(ArchSupportsSMP)" "YES" +GhcWithSMP=YES +else +GhcWithSMP=NO +endif + # Whether to include GHCi in the compiler. Depends on whether the RTS linker # has support for this OS/ARCH combination.