summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parentbc02f163f6e882d390abfb925b47b41e13ae523b (diff)
downloadopenssh-git-abbc7a7c02e45787d023f50a30f62d7a3e14fe9e.tar.gz
- (dtucker) [configure.ac] Enable -Wsizeof-pointer-memaccess if the compiler
supports it. Mentioned by Colin Watson in bz#2100, ok djm.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c30d547d..93c50e08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.521 2013/04/23 04:25:53 djm Exp $
+# $Id: configure.ac,v 1.522 2013/05/10 03:54:23 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org])
-AC_REVISION($Revision: 1.521 $)
+AC_REVISION($Revision: 1.522 $)
AC_CONFIG_SRCDIR([ssh.c])
AC_LANG([C])
@@ -134,6 +134,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
OSSH_CHECK_CFLAG_COMPILE([-Wuninitialized])
OSSH_CHECK_CFLAG_COMPILE([-Wsign-compare])
OSSH_CHECK_CFLAG_COMPILE([-Wformat-security])
+ OSSH_CHECK_CFLAG_COMPILE([-Wsizeof-pointer-memaccess])
OSSH_CHECK_CFLAG_COMPILE([-Wpointer-sign], [-Wno-pointer-sign])
OSSH_CHECK_CFLAG_COMPILE([-Wunused-result], [-Wno-unused-result])
OSSH_CHECK_CFLAG_COMPILE([-fno-strict-aliasing])