Blame SOURCES/python-crypto-2.4-optflags.patch

205252
--- pycrypto/setup.py
205252
+++ pycrypto/setup.py
205252
@@ -165,28 +165,6 @@
205252
             # Make assert() statements always work
205252
             self.__remove_compiler_option("-DNDEBUG")
205252
 
205252
-            # Choose our own optimization options
205252
-            for opt in ["-O", "-O0", "-O1", "-O2", "-O3", "-Os"]:
205252
-                self.__remove_compiler_option(opt)
205252
-            if self.debug:
205252
-                # Basic optimization is still needed when debugging to compile
205252
-                # the libtomcrypt code.
205252
-                self.__add_compiler_option("-O")
205252
-            else:
205252
-                # Speed up execution by tweaking compiler options.  This
205252
-                # especially helps the DES modules.
205252
-                self.__add_compiler_option("-O3")
205252
-                self.__add_compiler_option("-fomit-frame-pointer")
205252
-                # Don't include debug symbols unless debugging
205252
-                self.__remove_compiler_option("-g")
205252
-                # Don't include profiling information (incompatible with
205252
-                # -fomit-frame-pointer)
205252
-                self.__remove_compiler_option("-pg")
205252
-            if USE_GCOV:
205252
-                self.__add_compiler_option("-fprofile-arcs")
205252
-                self.__add_compiler_option("-ftest-coverage")
205252
-                self.compiler.libraries += ['gcov']
205252
-
205252
         # Call the superclass's build_extensions method
205252
         build_ext.build_extensions(self)
205252