[MLton-commit] r4071

Stephen Weeks MLton@mlton.org
Tue, 6 Sep 2005 10:51:39 -0700


Replaced -mv8 with -mcpu=v8 for compilation on Solaris.

----------------------------------------------------------------------

U   mlton/trunk/bin/mlton-script
U   mlton/trunk/runtime/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script	2005-09-06 04:18:56 UTC (rev 4070)
+++ mlton/trunk/bin/mlton-script	2005-09-06 17:51:38 UTC (rev 4071)
@@ -80,7 +80,7 @@
                 -fcall-used-g5
                 -fcall-used-g7
                 -mcpu=ultrasparc'                               \
-        -target-cc-opt sparc '-mv8 -m32'                        \
+        -target-cc-opt sparc '-mcpu=v8 -m32'                    \
         -target-cc-opt x86                                      \
                 '-fno-strength-reduce
                 -fschedule-insns

Modified: mlton/trunk/runtime/Makefile
===================================================================
--- mlton/trunk/runtime/Makefile	2005-09-06 04:18:56 UTC (rev 4070)
+++ mlton/trunk/runtime/Makefile	2005-09-06 17:51:38 UTC (rev 4071)
@@ -28,7 +28,7 @@
 endif
 
 ifeq ($(TARGET_ARCH), sparc)
-FLAGS += -mv8 -m32
+FLAGS += -mcpu=v8 -m32
 endif
 
 ifeq ($(TARGET_OS), solaris)