From dc88d927bd8aae088bef1828715856e7d6f6f8fe Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 13 Jan 2009 19:25:51 +0000 Subject: [PATCH] Even more hardcore --enable-hardcore. --- desmume/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/configure.ac b/desmume/configure.ac index aed70e013..ee95bcdee 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -214,7 +214,7 @@ if test "x[$]ENABLE_HARDCORE" = "x1"; then dnl - only valid for C with newer gcc's CPPFLAGS="[$]CPPFLAGS -Wmissing-prototypes" fi - CPPFLAGS="[$]CPPFLAGS -Wall -Wextra -Wno-missing-field-initializers -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -Wmissing-declarations -Wundef -Wmissing-noreturn -Wshadow" + CPPFLAGS="[$]CPPFLAGS -Wall -Wextra -D_FORTIFY_SOURCE=2 -Wno-missing-field-initializers -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -Wmissing-declarations -Wundef -Wmissing-noreturn -Wshadow -Wredundant-decls -Wformat-nonliteral -Wformat-security -Wswitch-enum -Winit-self" fi dnl - Enable debug mode