mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
glibc memcmp faster than gcc's
This commit is contained in:
parent
bd8b5fe801
commit
54a40fe790
@ -648,6 +648,7 @@ if nix:
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
if linux:
|
||||
env.Append( CPPFLAGS=" -Werror " )
|
||||
env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's
|
||||
env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
|
||||
env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
|
||||
env.Append( LIBS=[] )
|
||||
|
Loading…
Reference in New Issue
Block a user