diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2015-06-15 11:31:56 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2015-06-23 11:08:17 -0400 |
commit | 26d5e725c8d3da73c2ca81f9940debe4f76326b8 (patch) | |
tree | 2b76a9f8c894445d5021b6448965596ed631d5b9 /SConstruct | |
parent | c094ed73df14256aeb2851bfb2525947eda066ce (diff) | |
download | mongo-26d5e725c8d3da73c2ca81f9940debe4f76326b8.tar.gz |
SERVER-18953 SERVER-9567 Add debug symbols archive target
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index ea42bf93b55..85db3412585 100644 --- a/SConstruct +++ b/SConstruct @@ -628,6 +628,10 @@ env_vars.Add('MSVC_USE_SCRIPT', env_vars.Add('MSVC_VERSION', help='Sets the version of Visual Studio to use (e.g. 12.0, 11.0, 10.0)') +env_vars.Add('OBJCOPY', + help='Sets the path to objcopy', + default=WhereIs('objcopy')) + env_vars.Add('RPATH', help='Set the RPATH for dynamic libraries and executables', converter=variable_shlex_converter) @@ -2232,8 +2236,6 @@ def getSystemInstallName(): dist_arch = GetOption("distarch") arch_name = env['TARGET_ARCH'] if not dist_arch else dist_arch n = env.GetTargetOSName() + "-" + arch_name - if has_option("nostrip"): - n += "-debugsymbols" if len(mongo_modules): n += "-" + "-".join(m.name for m in mongo_modules) |