]> git.pld-linux.org Git - packages/mongodb.git/blob - config.patch
c582bc12e6e0e046c05db5984a08418e9fc40791
[packages/mongodb.git] / config.patch
1 --- mongodb-src-r1.8.3/SConstruct~      2011-09-01 19:06:02.082655213 +0200
2 +++ mongodb-src-r1.8.3/SConstruct       2011-09-01 19:07:59.250802930 +0200
3 @@ -671,7 +671,6 @@
4      env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
5      # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
6      if linux:
7 -        env.Append( CPPFLAGS=" -Werror " )
8          env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's
9      env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
10      env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
11 @@ -679,7 +678,8 @@
12  
13      #make scons colorgcc friendly
14      env['ENV']['HOME'] = os.environ['HOME']
15 -    env['ENV']['TERM'] = os.environ['TERM']
16 +    if 'TERM' in os.environ:
17 +        env['ENV']['TERM'] = os.environ['TERM']
18  
19      if linux and has_option( "sharedclient" ):
20          env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
This page took 0.028923 seconds and 3 git commands to generate.