|
Author: piumarta
Date: 2010-04-06 06:31:19 -0700 (Tue, 06 Apr 2010)
New Revision: 2178
Modified:
trunk/platforms/unix/plugins/SqueakFFIPrims/config.cmake
Log:
use correct asm on x86_64 -m32
Modified: trunk/platforms/unix/plugins/SqueakFFIPrims/config.cmake
===================================================================
--- trunk/platforms/unix/plugins/SqueakFFIPrims/config.cmake 2010-04-03 17:58:23 UTC (rev 2177)
+++ trunk/platforms/unix/plugins/SqueakFFIPrims/config.cmake 2010-04-06 13:31:19 UTC (rev 2178)
@@ -7,6 +7,8 @@
SET (cpu ppc)
ELSEIF (vm-host-cpu MATCHES "i[3456789]86")
SET (cpu x86)
+ ELSEIF (vm-host-cpu STREQUAL "x86_64" AND CMAKE_ARCH_FLAGS STREQUAL "-m32")
+ SET (cpu x86)
ELSE ()
SET (USE_LIBFFI 1)
ENDIF ()
|