0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

let scons try the different versions so it can cache better

This commit is contained in:
Eliot Horowitz 2009-01-27 09:37:33 -05:00
parent 511a6d236e
commit f6f9412d00

View File

@ -169,7 +169,6 @@ elif "win32" == os.sys.platform:
else:
print( "No special config for [" + os.sys.platform + "] which probably means it won't work" )
if nix:
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -O3 -Wall -Wsign-compare -Wno-non-virtual-dtor" )
env.Append( LINKFLAGS=" -fPIC " )
@ -202,10 +201,9 @@ if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
for b in boostLibs:
l = "boost_" + b
if not conf.CheckLib( l + "-mt" ):
if not conf.CheckLib( l ):
print "can't find a required boost library [" + l + "]";
Exit(1)
if not conf.CheckLib( [ l + "-mt" , l ] ):
print "can't find a required boost library [" + l + "]";
Exit(1)
# this will add it iff it exists and works
conf.CheckLib( "boost_system-mt" )