Add toolchain=gcc to V8 build for Sun
authorRyan Dahl <ry@tinyclouds.org>
Tue, 21 Dec 2010 20:02:51 +0000 (12:02 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 21 Dec 2010 20:02:51 +0000 (12:02 -0800)
wscript

diff --git a/wscript b/wscript
index b626dd9..d0d9477 100644 (file)
--- a/wscript
+++ b/wscript
@@ -456,7 +456,10 @@ def v8_cmd(bld, variant):
                 , snapshot
                , profile
                 )
-  
+
+  if sys.platform.startswith("sunos"): cmd += ' toolchain=gcc'
+
+
   return ("echo '%s' && " % cmd) + cmd