diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-30 16:23:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 16:23:02 +0100 |
commit | 20a52aa39db9a6e35738ee486848bd3dd28510cb (patch) | |
tree | d526bd408b1fc1559e81f4a29ce75405c5506911 /platform | |
parent | 1322ca6fb254f31d9f6133ad083588b5d21e97be (diff) | |
parent | 9ef0315b06634614bcd20700b73b562fe4411666 (diff) |
Merge pull request #16196 from bruvzg/macos_strip
[macOS] Strip executable after separating debug symbols.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/osx/SCsub | 1 |
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', |