summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <andrew.morrow@10gen.com>2019-12-03 16:08:52 +0000
committerevergreen <evergreen@mongodb.com>2019-12-03 16:08:52 +0000
commit474b930341f98ed8ab68bd82be69e94516689a44 (patch)
treeb4de0e9c392f7de435cd00d06958cc09f5df18d1 /SConstruct
parent966d9b880ad80b6d126f5bb4ad777312562cd93e (diff)
downloadmongo-474b930341f98ed8ab68bd82be69e94516689a44.tar.gz
SERVER-44899 The acyclic library dependency graph no longer requires link group arguments
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 0 insertions, 6 deletions
diff --git a/SConstruct b/SConstruct
index 2145fedd004..a301c7702d1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1647,20 +1647,14 @@ if env['_LIBDEPS'] == '$_LIBDEPS_LIBS':
env.Tool('thin_archive')
if env.TargetOSIs('linux', 'freebsd', 'openbsd'):
- env['LINK_LIBGROUP_START'] = '-Wl,--start-group'
- env['LINK_LIBGROUP_END'] = '-Wl,--end-group'
# NOTE: The leading and trailing spaces here are important. Do not remove them.
env['LINK_WHOLE_ARCHIVE_LIB_START'] = '-Wl,--whole-archive '
env['LINK_WHOLE_ARCHIVE_LIB_END'] = ' -Wl,--no-whole-archive'
elif env.TargetOSIs('darwin'):
- env['LINK_LIBGROUP_START'] = ''
- env['LINK_LIBGROUP_END'] = ''
# NOTE: The trailing space here is important. Do not remove it.
env['LINK_WHOLE_ARCHIVE_LIB_START'] = '-Wl,-force_load '
env['LINK_WHOLE_ARCHIVE_LIB_END'] = ''
elif env.TargetOSIs('solaris'):
- env['LINK_LIBGROUP_START'] = '-Wl,-z,rescan-start'
- env['LINK_LIBGROUP_END'] = '-Wl,-z,rescan-end'
# NOTE: The leading and trailing spaces here are important. Do not remove them.
env['LINK_WHOLE_ARCHIVE_LIB_START'] = '-Wl,-z,allextract '
env['LINK_WHOLE_ARCHIVE_LIB_END'] = ' -Wl,-z,defaultextract'