284b167 Ticket 48350 - configure.ac add options for debbuging and security analysis / hardening.

Authored and Committed by William Brown 8 years ago
    Ticket 48350 - configure.ac add options for debbuging and security analysis / hardening.
    https://fedorahosted.org/389/ticket/48350
    
    Bug Description:  Improve options for debugging and gcc security options.
    
    Fix Description:
    * We add -g3 to --enable-debug
    * Add a new option, --enable-gcc-security that enables a number of strict
       protections. These options are to match the options in rpm-build so that we
       can test like-for-like options.
    * Add a new option, --enable-asan. This enables GCC's address sanitization
       checker. This is NOT for production, but for development and debugging.
    
    Author: wibrown
    
    Thanks: dblack@atlassian.com, for putting me onto GCC's address sanitization,
     and for discussing secure development in general.
    
    Review by: mreynolds, nhosoi (Thanks!)
    
        
file modified
+5 -2
file modified
+7 -3
file modified
+37 -0
file modified
+64 -1
file modified
+29 -1