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

login
register
mail settings
Submitter Juan Quintela
Date Jan. 19, 2010, 11:56 p.m.
Message ID <afd60dbafd0ba1c97dbca83a07393bb3120bd280.1263944807.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/43256/
State New
Headers show

Comments

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

Patch

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