[Xfce4-commits] <xfce4-dev-tools:master> Remove FORTIFY_SOURCE=2.

Nick Schermer noreply at xfce.org
Mon Jul 23 17:34:01 CEST 2012


Updating branch refs/heads/master
         to 236a0c578369bfc726f7d9a830975cbeaefbfee5 (commit)
       from 9244250ac0c15ba160688758c5dccf97f3f160ef (commit)

commit 236a0c578369bfc726f7d9a830975cbeaefbfee5
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Jul 23 17:31:48 2012 +0200

    Remove FORTIFY_SOURCE=2.
    
    This gives warnings with full debug builds on recent gcc versions.

 m4macros/xdt-features.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index c5f5583..f258822 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -79,7 +79,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
                               -Wcast-align -Wformat-security \
                               -Winit-self -Wmissing-include-dirs -Wundef \
                               -Wmissing-format-attribute -Wnested-externs"
-    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
+    CPPFLAGS="$CPPFLAGS"
 
     if test x`uname` = x"Linux"; then
       xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"


More information about the Xfce4-commits mailing list