Gentoo Archives: gentoo-commits

From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mongodb/files: mongodb-2.4.11-fix-scons.patch
Date: Tue, 02 Sep 2014 08:32:02
Message-Id: 20140902083157.9490947FF@oystercatcher.gentoo.org
1 ultrabug 14/09/02 08:31:57
2
3 Added: mongodb-2.4.11-fix-scons.patch
4 Log:
5 version bump
6
7 (Portage version: 2.2.11-r1/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
8
9 Revision Changes Path
10 1.1 dev-db/mongodb/files/mongodb-2.4.11-fix-scons.patch
11
12 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
13 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
14
15 Index: mongodb-2.4.11-fix-scons.patch
16 ===================================================================
17 --- b/SConstruct 2014-09-01 19:12:24.289585592 +0200
18 +++ a/SConstruct 2014-09-01 19:14:12.550312261 +0200
19 @@ -704,7 +704,6 @@
20 # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
21 env.Append( CCFLAGS=["-fPIC",
22 "-fno-strict-aliasing",
23 - "-ggdb",
24 "-pthread",
25 "-Wall",
26 "-Wsign-compare",
27 @@ -719,9 +718,10 @@
28 env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
29
30 env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
31 - env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
32 + env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
33 + env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
34 env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] )
35 - env.Append( LIBS=[] )
36 + env.Append( LIBS=['pcre', 'pcrecpp', 'snappy'] )
37
38 #make scons colorgcc friendly
39 for key in ('HOME', 'TERM'):