diff --git a/third_party/js-1.7/jscpucfg b/third_party/js-1.7/jscpucfg index bc6b088a734..72f153fc545 100755 Binary files a/third_party/js-1.7/jscpucfg and b/third_party/js-1.7/jscpucfg differ diff --git a/third_party/sm.py b/third_party/sm.py index 75366befc3a..d7d776270eb 100644 --- a/third_party/sm.py +++ b/third_party/sm.py @@ -57,7 +57,7 @@ def configure( env , fileLists , options ): myenv.Append( CPPDEFINES=[ "JSFILE" , "EXPORT_JS_API" , "JS_C_STRINGS_ARE_UTF8" ] ) myenv["CPPFLAGS"] = myenv["CPPFLAGS"].replace( "-Werror" , "" ) - if os.sys.platform.startswith( "linux" ): + if os.sys.platform.startswith( "linux" ) or os.sys.platform == "darwin": myenv["CPPDEFINES"] += [ "HAVE_VA_COPY" , "VA_COPY=va_copy" ] fileLists["scriptingFiles"] += [ myenv.Object(root + "/" + f) for f in basicFiles ]