* [gentoo-commits] gentoo-x86 commit in dev-db/mongodb/files: mongodb-2.2-fix-sconscript.patch mongodb-2.2-fix-scons.patch
@ 2012-08-30 10:14 Alexys Jacob (ultrabug)
0 siblings, 0 replies; only message in thread
From: Alexys Jacob (ultrabug) @ 2012-08-30 10:14 UTC (permalink / raw
To: gentoo-commits
ultrabug 12/08/30 10:14:54
Added: mongodb-2.2-fix-sconscript.patch
mongodb-2.2-fix-scons.patch
Log:
Version bump, drop old.
(Portage version: 2.1.11.11/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/mongodb/files/mongodb-2.2-fix-sconscript.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.2-fix-sconscript.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.2-fix-sconscript.patch?rev=1.1&content-type=text/plain
Index: mongodb-2.2-fix-sconscript.patch
===================================================================
--- a/src/mongo/SConscript 2012-08-29 16:21:35.077094498 +0200
+++ b/src/mongo/SConscript 2012-08-29 17:13:55.199620421 +0200
@@ -170,7 +170,7 @@
if usesm:
env.StaticLibrary('scripting', scripting_common_files + ['scripting/engine_spidermonkey.cpp'],
- LIBDEPS=['$BUILD_DIR/third_party/js-1.7/js', 'bson_template_evaluator'])
+ LIBDEPS=['bson_template_evaluator'])
elif usev8:
env.StaticLibrary('scripting', scripting_common_files + ['scripting/engine_v8.cpp',
'scripting/v8_db.cpp',
1.1 dev-db/mongodb/files/mongodb-2.2-fix-scons.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.2-fix-scons.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb-2.2-fix-scons.patch?rev=1.1&content-type=text/plain
Index: mongodb-2.2-fix-scons.patch
===================================================================
--- a/SConstruct 2012-08-29 16:21:35.107094792 +0200
+++ b/SConstruct 2012-08-29 19:09:16.964893217 +0200
@@ -677,7 +677,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",
@@ -685,14 +684,15 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux:
- env.Append( CCFLAGS=["-Werror", "-pipe"] )
+ env.Append( CPPDEFINES=["XP_UNIX=1"] )
if not has_option('clang'):
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=['js', 'pcre', 'pcrecpp', 'snappy'] )
#make scons colorgcc friendly
for key in ('HOME', 'TERM'):
@@ -703,6 +703,7 @@
if linux and has_option( "sharedclient" ):
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
+ env.Append( SHLINKFLAGS=" -Wl,-soname=libmongoclient.so " )
if linux and has_option( "gcov" ):
env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " )
@@ -712,7 +713,7 @@
env.Append( CCFLAGS=["-O0", "-fstack-protector"] )
env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind
else:
- env.Append( CCFLAGS=["-O3"] )
+ env.Append( CXXFLAGS=["-O3"] )
if debugLogging:
env.Append( CPPDEFINES=["_DEBUG"] );
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-30 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 10:14 [gentoo-commits] gentoo-x86 commit in dev-db/mongodb/files: mongodb-2.2-fix-sconscript.patch mongodb-2.2-fix-scons.patch Alexys Jacob (ultrabug)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox