7331757 Strip all extension builder flags except -fexceptions and -fcf-protection

Authored and Committed by cstratak 9 months ago
    Strip all extension builder flags except -fexceptions and -fcf-protection
    
    This preserves binary compatibility with the main interpreters
    the extensions are built against while removing Fedora's flags
    that are not required to be inherited on user built extensions.
    
    This implements https://fedoraproject.org/wiki/Changes/Python_Extension_Flags_Reduction
    
        
file modified
+4 -9
file modified
+12 -6
file modified
+5 -1