diff options
author | Miroslav Rezanina <mrezanin@redhat.com> | 2014-07-02 10:05:24 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-10 17:06:29 +0200 |
commit | 3b463a3fa8f7690ffa3ef273993dff349b3a73d3 (patch) | |
tree | 236dbc78833c71db403091f84a525dd32ea13b34 /target-i386 | |
parent | 30e5210a706ca6b52cbefa8b71e40ae614ffd6e5 (diff) |
Enforce stack protector usage
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: Miroslav Rezanina <mrezanin@redhat.com>
[Fix non-POSIX operator in test. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386')
0 files changed, 0 insertions, 0 deletions