From: Ian Lynagh Date: Sat, 4 Sep 2010 14:42:34 +0000 (+0000) Subject: Tidy up the ArchHasAdjustorSupport definition X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=6cc7b5187ce33b318ac4ded4e2820a9ef487f42a Tidy up the ArchHasAdjustorSupport definition --- diff --git a/mk/config.mk.in b/mk/config.mk.in index cb8d41f..c3c421a 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -178,7 +178,7 @@ endif # Whether to use libffi for adjustors (foreign import "wrapper") or # not. If we have built-in support (rts/Adjustor.c) then we use that, # otherwise we fall back on libffi, which is slightly slower. -ArchHasAdjustorSupport=$(strip $(if $(findstring $(HostArch_CPP),i386 x86_64,),YES,NO)) +ArchHasAdjustorSupport = $(if $(findstring $(HostArch_CPP),i386 x86_64),YES,NO) ifeq "$(ArchHasAdjustorSupport)" "YES" UseLibFFIForAdjustors=NO else