summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2018-01-30 16:51:46 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-01-30 16:51:46 +0200
commit9ef0315b06634614bcd20700b73b562fe4411666 (patch)
tree1d9fb4c9969a703780c4ae175a1cf8102b0b8789 /platform
parentd1954f464c952363ab4b09ec9ccbd26c740c3438 (diff)
[macOS] Strip executable when `separate_debug_symbols` is set to yes
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/SCsub1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/SCsub b/platform/osx/SCsub
index 07e633a117..5efe2d0b22 100644
--- a/platform/osx/SCsub
+++ b/platform/osx/SCsub
@@ -10,6 +10,7 @@ def make_debug(target, source, env):
os.system(mpprefix + '/libexec/llvm-' + mpclangver + '/bin/llvm-dsymutil %s -o %s.dSYM' % (target[0], target[0]))
else:
os.system('dsymutil %s -o %s.dSYM' % (target[0], target[0]))
+ os.system('strip -u -r %s' % (target[0]))
files = [
'crash_handler_osx.mm',