mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-12456 Also pass stack protector option to the link step
This commit is contained in:
parent
c510dfd311
commit
fc0280414c
@ -872,6 +872,8 @@ if nix:
|
||||
if debugBuild:
|
||||
if not optBuild:
|
||||
env.Append( CCFLAGS=["-fstack-protector"] )
|
||||
env.Append( LINKFLAGS=["-fstack-protector"] )
|
||||
env.Append( SHLINKFLAGS=["-fstack-protector"] )
|
||||
env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind
|
||||
env.Append( CPPDEFINES=["_DEBUG"] );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user