[gnome-software] Enable the stack protection in local builds
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Enable the stack protection in local builds
- Date: Wed, 23 Nov 2016 14:21:35 +0000 (UTC)
commit eca9e31003c3fae774fb76e1bed8792a96311459
Author: Richard Hughes <richard hughsie com>
Date: Wed Nov 23 11:51:08 2016 +0000
Enable the stack protection in local builds
This means we crash just the same way as the distro packages.
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 926ac63..9251152 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,8 @@ 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]