[16/17] Check availavility of -fstack-protector-all

Submitted by Juan Quintela on Jan. 20, 2010, 8:14 p.m.

Details

Message ID cd893ffbc951b51dc337d1f11797cc2b016ab366.1264017981.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Jan. 20, 2010, 8:14 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index 5556b9d..d8af978 100755
--- a/configure
+++ b/configure
@@ -101,7 +101,7 @@  QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
 QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
 LDFLAGS="-g $LDFLAGS"

-gcc_flags="-Wold-style-declaration -Wold-style-definition"
+gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all"
 cat > $TMPC << EOF
 int main(void) { }
 EOF