summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
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"