From a883af6da021d2221c4344447f03666caa03878f Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Fri, 27 Mar 2009 20:51:13 +0000
Subject: [PATCH] Need to load x87-c-call if we're not running an sse2 build.

---
 tools/cross-scripts/cross-x86-x86.lisp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/cross-scripts/cross-x86-x86.lisp b/tools/cross-scripts/cross-x86-x86.lisp
index 85df423cd..c93e3ebd2 100644
--- a/tools/cross-scripts/cross-x86-x86.lisp
+++ b/tools/cross-scripts/cross-x86-x86.lisp
@@ -84,8 +84,10 @@
 (load "vm:subprim")
 (load "vm:debug")
 (load "vm:c-call")
-(when (target-featurep :sse2)
-  (load "vm:sse2-c-call"))
+(if (target-featurep :sse2)
+    (load "vm:sse2-c-call")
+    (load "vm:x87-c-call"))
+
 (load "vm:print")
 (load "vm:alloc")
 (load "vm:call")
-- 
GitLab