Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lenovo-lico:lico-dep:5.1:el7
python-crypto
_service:download_src_package:python-crypto-2.4...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:python-crypto-2.4-optflags.patch of Package python-crypto
--- pycrypto/setup.py +++ pycrypto/setup.py @@ -165,28 +165,6 @@ # Make assert() statements always work self.__remove_compiler_option("-DNDEBUG") - # Choose our own optimization options - for opt in ["-O", "-O0", "-O1", "-O2", "-O3", "-Os"]: - self.__remove_compiler_option(opt) - if self.debug: - # Basic optimization is still needed when debugging to compile - # the libtomcrypt code. - self.__add_compiler_option("-O") - else: - # Speed up execution by tweaking compiler options. This - # especially helps the DES modules. - self.__add_compiler_option("-O3") - self.__add_compiler_option("-fomit-frame-pointer") - # Don't include debug symbols unless debugging - self.__remove_compiler_option("-g") - # Don't include profiling information (incompatible with - # -fomit-frame-pointer) - self.__remove_compiler_option("-pg") - if USE_GCOV: - self.__add_compiler_option("-fprofile-arcs") - self.__add_compiler_option("-ftest-coverage") - self.compiler.libraries += ['gcov'] - # Call the superclass's build_extensions method build_ext.build_extensions(self)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor