diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-05-10 13:54:23 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-05-10 13:54:23 +1000 |
commit | abbc7a7c02e45787d023f50a30f62d7a3e14fe9e (patch) | |
tree | 1a32247f2159087ca4da303d2899d9309eb37b42 | |
parent | bc02f163f6e882d390abfb925b47b41e13ae523b (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-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20130510 | ||
2 | - (dtucker) [configure.ac] Enable -Wsizeof-pointer-memaccess if the compiler | ||
3 | supports it. Mentioned by Colin Watson in bz#2100, ok djm. | ||
4 | |||
1 | 20130423 | 5 | 20130423 |
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 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.521 $) | 18 | AC_REVISION($Revision: 1.522 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_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]) |