Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293109 Details for
Bug 390981
dev-db/mongodb-2.0.2_rc0 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mongodb-2.0-fix-scons.patch
mongodb-2.0-fix-scons.patch (text/plain), 1.66 KB, created by
Johan Bergström
on 2011-11-19 16:47:22 UTC
(
hide
)
Description:
mongodb-2.0-fix-scons.patch
Filename:
MIME Type:
Creator:
Johan Bergström
Created:
2011-11-19 16:47:22 UTC
Size:
1.66 KB
patch
obsolete
>diff --git a/SConstruct b/SConstruct >index 4f2aa3f..f5728a0 100644 >--- a/SConstruct >+++ b/SConstruct >@@ -688,15 +688,16 @@ if nix: > 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. >- env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) >+ 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 " ) > if not has_option('clang'): > env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's > > env.Append( CPPDEFINES="_FILE_OFFSET_BITS=64" ) >+ env.Append( CXXFLAGS=os.environ['CXXFLAGS']) > env.Append( CXXFLAGS=" -Wnon-virtual-dtor " ) >+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) > env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" ) > env.Append( LIBS=[] ) > >@@ -706,12 +707,13 @@ if nix: > > if linux and has_option( "sharedclient" ): > env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) >+ env.Append( SHLINKFLAGS=" -Wl,-soname=libmongoclient.so " ) > > if debugBuild: > env.Append( CPPFLAGS=" -O0 -fstack-protector " ); > env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind > else: >- env.Append( CPPFLAGS=" -O3 " ) >+ env.Append( CXXFLAGS=" -O3 " ) > #env.Append( CPPFLAGS=" -fprofile-generate" ) > #env.Append( LINKFLAGS=" -fprofile-generate" ) > # then:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390981
:
293061
|
293063
| 293109 |
293593