ultrabug 14/09/02 08:31:57 Added: mongodb-2.4.11-fix-scons.patch Log: version bump (Portage version: 2.2.11-r1/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Revision Changes Path 1.1 dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch?rev=1.1&content-type=text/plain Index: mongodb-2.4.11-fix-scons.patch =================================================================== --- b/SConstruct 2014-09-01 19:12:24.289585592 +0200 +++ a/SConstruct 2014-09-01 19:14:12.550312261 +0200 @@ -704,7 +704,6 @@ # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. env.Append( CCFLAGS=["-fPIC", "-fno-strict-aliasing", - "-ggdb", "-pthread", "-Wall", "-Wsign-compare", @@ -719,9 +718,10 @@ env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] ) - env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) + env.Append( CXXFLAGS=os.environ['CXXFLAGS'] ) + env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] ) - env.Append( LIBS=[] ) + env.Append( LIBS=['pcre', 'pcrecpp', 'snappy'] ) #make scons colorgcc friendly for key in ('HOME', 'TERM'):