• M
    Enforce stack protector usage · 3b463a3f
    Miroslav Rezanina 提交于
    If --enable-stack-protector is used is used, configure script try to use
    --fstack-protector-strong. In case it's not supported, --fstack-protector-all
    is enabled. If both protectors are not supported, configure does not use
    any protector at all without any notification.
    
    This patch reports error when user requests stack protector to be used and
    both protector modes are not supported. Behavior is not changed in case
    user do not use any of --enable-stack-protector/--disable-stack-protector.
    Signed-off-by: NMiroslav Rezanina <mrezanin@redhat.com>
    [Fix non-POSIX operator in test. - Paolo]
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    3b463a3f
configure 139.4 KB