Tidy up the ArchHasAdjustorSupport definition
authorIan Lynagh <igloo@earth.li>
Sat, 4 Sep 2010 14:42:34 +0000 (14:42 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 4 Sep 2010 14:42:34 +0000 (14:42 +0000)
mk/config.mk.in

index cb8d41f..c3c421a 100644 (file)
@@ -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