From: Juan Quintela Date: Tue, 19 Jan 2010 23:56:23 +0000 (+0100) Subject: Check availavility of -fstack-protector-all X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a0f291fc101a7ab3e40850a329da2cc2f2cd1f2d;p=qemu.git Check availavility of -fstack-protector-all Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/configure b/configure index 4d81f55f22..1f6de4149f 100755 --- a/configure +++ b/configure @@ -102,7 +102,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