summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-10 13:54:23 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-05-10 13:54:23 +1000
commitabbc7a7c02e45787d023f50a30f62d7a3e14fe9e (patch)
tree1a32247f2159087ca4da303d2899d9309eb37b42
parentbc02f163f6e882d390abfb925b47b41e13ae523b (diff)
- (dtucker) [configure.ac] Enable -Wsizeof-pointer-memaccess if the compiler
supports it. Mentioned by Colin Watson in bz#2100, ok djm.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9865d41b2..dbc9679bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120130510
2 - (dtucker) [configure.ac] Enable -Wsizeof-pointer-memaccess if the compiler
3 supports it. Mentioned by Colin Watson in bz#2100, ok djm.
4
120130423 520130423
2 - (djm) [auth.c configure.ac misc.c monitor.c monitor_wrap.c] Support 6 - (djm) [auth.c configure.ac misc.c monitor.c monitor_wrap.c] Support
3 platforms, such as Android, that lack struct passwd.pw_gecos. Report 7 platforms, such as Android, that lack struct passwd.pw_gecos. Report
diff --git a/configure.ac b/configure.ac
index c30d547d9..93c50e085 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.521 2013/04/23 04:25:53 djm Exp $ 1# $Id: configure.ac,v 1.522 2013/05/10 03:54:23 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) 17AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
18AC_REVISION($Revision: 1.521 $) 18AC_REVISION($Revision: 1.522 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20AC_LANG([C]) 20AC_LANG([C])
21 21
@@ -134,6 +134,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
134 OSSH_CHECK_CFLAG_COMPILE([-Wuninitialized]) 134 OSSH_CHECK_CFLAG_COMPILE([-Wuninitialized])
135 OSSH_CHECK_CFLAG_COMPILE([-Wsign-compare]) 135 OSSH_CHECK_CFLAG_COMPILE([-Wsign-compare])
136 OSSH_CHECK_CFLAG_COMPILE([-Wformat-security]) 136 OSSH_CHECK_CFLAG_COMPILE([-Wformat-security])
137 OSSH_CHECK_CFLAG_COMPILE([-Wsizeof-pointer-memaccess])
137 OSSH_CHECK_CFLAG_COMPILE([-Wpointer-sign], [-Wno-pointer-sign]) 138 OSSH_CHECK_CFLAG_COMPILE([-Wpointer-sign], [-Wno-pointer-sign])
138 OSSH_CHECK_CFLAG_COMPILE([-Wunused-result], [-Wno-unused-result]) 139 OSSH_CHECK_CFLAG_COMPILE([-Wunused-result], [-Wno-unused-result])
139 OSSH_CHECK_CFLAG_COMPILE([-fno-strict-aliasing]) 140 OSSH_CHECK_CFLAG_COMPILE([-fno-strict-aliasing])