--- Source/setup_configure.py.orig	2021-05-14 11:34:07.000000000 -0400
+++ Source/setup_configure.py	2021-07-24 11:04:10.000000000 -0400
@@ -568,8 +568,8 @@
             raise last_exception
 
         # if we are using the Fink SVN then remember this
-        self.is_mac_os_x_fink = folder.startswith( '/sw/' )
-        self.is_mac_os_x_darwin_ports = folder.startswith( '/opt/local/' )
+        self.is_mac_os_x_fink = False
+        self.is_mac_os_x_darwin_ports = False
         return folder
 
     def find_apr_inc( self ):
@@ -1101,7 +1101,7 @@
 
     def setupUtilities( self ):
         self._addVar( 'CCCFLAGS',
-                                        '-g  '
+                                        '-g -O2 '
                                         '-Wall -fPIC -fexceptions -frtti '
                                         '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s '
                                         '-D%(DEBUG)s' )
@@ -1129,7 +1129,7 @@
         self._addVar( 'PYTHON_INC',         distutils.sysconfig.get_python_inc() )
 
         py_cflags_list = [
-                    '-g',
+                    '-g -O2 ',
                     '-Wall -fPIC',
                     '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s',
                     '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
