From d537d64ab88ed3526425a71730acc0a36f7aab63 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Tue, 19 Feb 2013 19:07:34 +0100 Subject: Revert "wafbuild: use -Wstack-protector if available" This reverts commit e6643fbf48afccd0acedb65fbe24d3ce84d44c40. Signed-off-by: Bjoern Jacke Reviewed-by: Matthieu Patou --- lib/replace/wscript | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/replace') diff --git a/lib/replace/wscript b/lib/replace/wscript index 475cd24d37..266ca47d4c 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -53,9 +53,6 @@ struct foo bar = { .y = 'X', .x = 1 }; conf.ADD_CFLAGS(f) break - if conf.CHECK_CFLAGS(['-Wstack-protector']): - conf.ADD_CFLAGS('-Wstack-protector') - # Try to find the right extra flags for -Werror behaviour for f in ["-Werror", # GCC "-errwarn=%all", # Sun Studio -- cgit