diff options
Diffstat (limited to 'dev-db/mongodb/files/mongodb-2.0-fix-scons.patch')
-rw-r--r-- | dev-db/mongodb/files/mongodb-2.0-fix-scons.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-db/mongodb/files/mongodb-2.0-fix-scons.patch b/dev-db/mongodb/files/mongodb-2.0-fix-scons.patch index adadde14ef75..a52e3a30a77d 100644 --- a/dev-db/mongodb/files/mongodb-2.0-fix-scons.patch +++ b/dev-db/mongodb/files/mongodb-2.0-fix-scons.patch @@ -1,6 +1,6 @@ ---- a/SConstruct 2011-11-14 15:05:46.000000000 +0100 -+++ b/SConstruct 2011-11-15 21:12:23.707935731 +0100 -@@ -689,15 +689,16 @@ +--- a/SConstruct 2011-11-16 22:11:39.000000000 +0100 ++++ b/SConstruct 2011-11-17 16:30:16.144117550 +0100 +@@ -688,7 +688,7 @@ env["CXX"] = "distcc " + env["CXX"] # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. @@ -8,8 +8,8 @@ + env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet if linux: -- env.Append( CPPFLAGS=" -Werror -pipe " ) - if not has_option('clang'): + env.Append( CPPFLAGS=" -Werror " ) +@@ -696,7 +696,9 @@ env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's env.Append( CPPDEFINES="_FILE_OFFSET_BITS=64" ) @@ -19,7 +19,7 @@ env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" ) env.Append( LIBS=[] ) -@@ -707,12 +708,13 @@ +@@ -706,12 +708,13 @@ if linux and has_option( "sharedclient" ): env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) |