9ad671a configure: Define _FORTIFY_SOURCE conditionally

1 file Authored by mprivozn 6 years ago, Committed by Laine Stump 6 years ago,
1 file changed. 11 lines added. 1 lines removed.
    configure: Define _FORTIFY_SOURCE conditionally
    
    Firstly, some build environments may already define
    _FORTIFY_SOURCE so if we put it straight onto command line we're
    redefining it and that makes compiler complain. Secondly,
    _FORTIFY_SOURCE is not allowed without optimizations enabled.
    At the same time, enable lint to follow the lead of coreutils for
    using improved glibc headers.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+11 -1