0
0
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:
Andrew Morrow 2014-01-23 17:59:33 -05:00
parent c510dfd311
commit fc0280414c

View File

@ -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"] );