diff options
author | Jonathan Reams <jbreams@mongodb.com> | 2015-06-15 11:31:56 -0400 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2016-01-11 11:30:51 -0500 |
commit | ab7f0080a8546d21fa737350ce58aaf1cb9c8435 (patch) | |
tree | 5710d9e239dca5da3a046a3d4c8ec427ee1e22ef /SConstruct | |
parent | 018828df1ec4bd9df5ede5dfbb27e441dbf5cf9e (diff) | |
download | mongo-ab7f0080a8546d21fa737350ce58aaf1cb9c8435.tar.gz |
SERVER-18953 SERVER-9567 Add debug symbols archive target
(cherry picked from commit 26d5e725c8d3da73c2ca81f9940debe4f76326b8)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 069f0f1cc64..0d9de5a8d50 100644 --- a/SConstruct +++ b/SConstruct @@ -470,6 +470,10 @@ env_vars.Add('MONGO_GIT_HASH', help='Sets the githash to store in the MongoDB version information', default=version_data['githash']) +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) @@ -2383,8 +2387,6 @@ def getSystemInstallName(): n = platform + "-" + arch_name if static: n += "-static" - if has_option("nostrip"): - n += "-debugsymbols" if nix and os.uname()[2].startswith("8."): n += "-tiger" |