mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
better debugging
This commit is contained in:
parent
7f07a5a71e
commit
5a35a0f71d
@ -128,6 +128,7 @@ serverOnlyFiles = Split( "db/query.cpp db/introspect.cpp db/btree.cpp db/clientc
|
||||
|
||||
allClientFiles = commonFiles + coreDbFiles + [ "client/clientOnly.cpp" , "client/gridfs.cpp" ];
|
||||
|
||||
onlyServer = len( COMMAND_LINE_TARGETS ) == 0 or ( len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "mongod" )
|
||||
nix = False
|
||||
useJavaHome = False
|
||||
linux64 = False
|
||||
@ -308,7 +309,10 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
|
||||
|
||||
|
||||
if release and not java and failIfNotFound:
|
||||
print( "ERROR: can't find static version of: " + str( poss ) )
|
||||
extra = ""
|
||||
if linux64 and shell:
|
||||
extra += " 32 bit version for shell"
|
||||
print( "ERROR: can't find static version of: " + str( poss ) + extra + " in: " + str( allPlaces ) )
|
||||
Exit(1)
|
||||
|
||||
res = conf.CheckLib( poss )
|
||||
@ -486,7 +490,7 @@ def removeIfInList( lst , thing ):
|
||||
if thing in lst:
|
||||
lst.remove( thing )
|
||||
|
||||
if linux64 or force64:
|
||||
if not onlyServer and ( linux64 or force64 ):
|
||||
if linux64:
|
||||
shellEnv.Append( CFLAGS="-m32" )
|
||||
shellEnv.Append( CXXFLAGS="-m32" )
|
||||
|
Loading…
Reference in New Issue
Block a user