Strip generate binaries
This commit is contained in:
parent
8b7d875e40
commit
d3abf64bd2
1 changed files with 6 additions and 4 deletions
10
common.gypi
10
common.gypi
|
@ -154,11 +154,16 @@
|
|||
],
|
||||
}],
|
||||
['_type in ["executable", "shared_library"]', {
|
||||
# On some machines setting CLANG_CXX_LIBRARY doesn't work for linker.
|
||||
'xcode_settings': {
|
||||
# On some machines setting CLANG_CXX_LIBRARY doesn't work for linker.
|
||||
'OTHER_LDFLAGS': [
|
||||
'-stdlib=libc++'
|
||||
],
|
||||
# Generates symbols and strip the binary.
|
||||
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
|
||||
'DEPLOYMENT_POSTPROCESSING': 'YES',
|
||||
'STRIP_INSTALLED_PRODUCT': 'YES',
|
||||
'STRIPFLAGS': '-x',
|
||||
},
|
||||
}],
|
||||
],
|
||||
|
@ -198,9 +203,6 @@
|
|||
],
|
||||
},
|
||||
},
|
||||
'xcode_settings': {
|
||||
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
# Settings to compile with clang under OS X.
|
||||
|
|
Loading…
Reference in a new issue