[gnome-software] Revert "Enable the stack protection in local builds"



commit dd08756844548683998fd79283bbf1abf2cd462d
Author: Kalev Lember <klember redhat com>
Date:   Fri Mar 10 14:51:38 2017 +0100

    Revert "Enable the stack protection in local builds"
    
    This made it difficult to do local debug builds with -O0, causing make
    to emit hundreds of:
    
    warning: #warning _FORTIFY_SOURCE requires compiling with optimization
    
    This reverts commit eca9e31003c3fae774fb76e1bed8792a96311459.

 configure.ac |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index afce63f..b169362 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,8 +22,6 @@ dnl ---------------------------------------------------------------------------
 dnl - Extra verbose warning switches
 dnl ---------------------------------------------------------------------------
 WARN_CFLAGS_EXTRA="
-       -D_FORTIFY_SOURCE=2
-       -fstack-protector-strong
        -Waggregate-return
        -Warray-bounds
        -Wcast-align


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]