mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
Make SConstruct robust to TERM not being set.
This commit is contained in:
parent
8294769d84
commit
0b0a55509e
@ -707,7 +707,10 @@ if nix:
|
||||
|
||||
#make scons colorgcc friendly
|
||||
env['ENV']['HOME'] = os.environ['HOME']
|
||||
env['ENV']['TERM'] = os.environ['TERM']
|
||||
try:
|
||||
env['ENV']['TERM'] = os.environ['TERM']
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
if linux and has_option( "sharedclient" ):
|
||||
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
|
||||
|
Loading…
Reference in New Issue
Block a user