Skip to content

Commit

Permalink
fix sm build for darwin SERVER-3659
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Aug 21, 2011
1 parent d40cad9 commit f97d900
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified third_party/js-1.7/jscpucfg
Binary file not shown.
2 changes: 1 addition & 1 deletion third_party/sm.py
Expand Up @@ -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 ]
Expand Down

0 comments on commit f97d900

Please sign in to comment.