diff options
author | Andrew Morrow <acm@10gen.com> | 2013-11-13 18:16:42 -0500 |
---|---|---|
committer | Andrew Morrow <acm@10gen.com> | 2013-11-27 13:17:08 -0500 |
commit | c9808ef30896aba0196247052d282fb77d43a347 (patch) | |
tree | c1349886df14e90e15a863c18cec0e61129b8fa0 /SConstruct | |
parent | 1a78c32529cd9378479170b7577b1eb2509c61ca (diff) | |
download | mongo-c9808ef30896aba0196247052d282fb77d43a347.tar.gz |
SERVER-11689 Always link libgcc statically if linking libstdc++ statically
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index b6168a75de9..a96665c43d3 100644 --- a/SConstruct +++ b/SConstruct @@ -711,7 +711,7 @@ elif linux: if static: env.Append( LINKFLAGS=" -static " ) if has_option( "static-libstdc++" ): - env.Append( LINKFLAGS=" -static-libstdc++ " ) + env.Append( LINKFLAGS=["-static-libstdc++", "-static-libgcc"] ) elif solaris: env.Append( CPPDEFINES=[ "__sunos__" ] ) |