mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix sm build for darwin SERVER-3659
This commit is contained in:
parent
d40cad9feb
commit
f97d900e5a
BIN
third_party/js-1.7/jscpucfg
vendored
BIN
third_party/js-1.7/jscpucfg
vendored
Binary file not shown.
2
third_party/sm.py
vendored
2
third_party/sm.py
vendored
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user