diff options
author | Colin Walters <walters@verbum.org> | 2012-12-03 14:05:40 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-12-03 14:07:01 -0500 |
commit | 5cd90ebcf1acc302e7d2f9ca84af2300bd582023 (patch) | |
tree | 8d7a4bfdcc8f6507d9dae60bafaf0d7d39552829 | |
parent | 678c26edaee5147c711c8f5d915daec0d2504bc7 (diff) | |
download | gdm-5cd90ebcf1acc302e7d2f9ca84af2300bd582023.tar.gz |
build: Don't automatically use _FORTIFY_SOURCE
OS builders can add this flag externally if desired. The problem with
us doing this unconditionally, it causes the cpp to spam us with
warnings if we're building without optimization (i.e. CFLAGS='-ggdb
-O0') which I often do so I can use gdb.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c03ebe97..605979dd 100644 --- a/configure.ac +++ b/configure.ac @@ -1433,7 +1433,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then -Wall \ -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \ -Wnested-externs -Wpointer-arith \ - -Wcast-align -Wsign-compare -Wp,-D_FORTIFY_SOURCE=2 \ + -Wcast-align -Wsign-compare \ $CFLAGS" for option in -Wno-strict-aliasing -Wno-sign-compare; do |