strip debug symbols from Linux binaries
This commit is contained in:
parent
3854be7ca4
commit
d62cef5f86
4
setup.py
4
setup.py
|
@ -6,7 +6,7 @@ class BuildExt(build_ext):
|
|||
"""A custom build extension for adding compiler-specific options."""
|
||||
c_opts = {
|
||||
'msvc': ['/EHsc', '/O2', '/std:c++11'],
|
||||
'unix': ['-O3', '-std=c++11', '-Wextra', '-Wall'],
|
||||
'unix': ['-O3', '-std=c++11', '-Wextra', '-Wall', '-g0'],
|
||||
}
|
||||
l_opts = {
|
||||
'msvc': [],
|
||||
|
@ -76,4 +76,4 @@ if __name__ == "__main__":
|
|||
setup(
|
||||
cmdclass={'build_ext': BuildExt},
|
||||
ext_modules = ext_modules
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue