[gnome-disk-utility] Don't define _FORTIFY_SOURCE
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Don't define _FORTIFY_SOURCE
- Date: Mon, 9 Jul 2012 15:34:34 +0000 (UTC)
commit 513582b90ec4919eb905bb0005da0d371d04e6f7
Author: David Zeuthen <zeuthen gmail com>
Date: Mon Jul 9 11:33:25 2012 -0400
Don't define _FORTIFY_SOURCE
It will spew things like
/usr/include/features.h:314:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
if you build with -O0. Anyway, it is expected that distributors will
set this when building production binaries, really no point in use
setting it.
Signed-off-by: David Zeuthen <zeuthen gmail com>
configure.ac | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2fb9c29..9967fde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,6 @@ CC_CHECK_CFLAGS_APPEND([ \
-Wno-unused-parameter \
-Wno-unused-result \
-Wold-style-definition \
- -Wp,-D_FORTIFY_SOURCE=2 \
-Wpacked \
-Wpointer-arith \
-Wredundant-decls \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]