summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-03-05 15:04:35 +1100
committerDamien Miller <djm@mindrot.org>2010-03-05 15:04:35 +1100
commit9527f228ae88a1b328163717f5d68904d86c5d98 (patch)
tree4b6e17a48780b9cccaf16b7e438f09890cdd4c91
parentb068d0ad6dd1cf63ecd636bb2e24ce4c74406cb2 (diff)
- (djm) [configure.ac] set -fno-strict-aliasing for gcc4; ok dtucker@
-rw-r--r--ChangeLog1
-rw-r--r--configure.ac6
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 25a0f871..efb7a094 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,7 @@
compilers. OK djm@
- (djm) [ssh-rand-helper.c] declare optind, avoiding compilation failure
on some platforms
+ - (djm) [configure.ac] set -fno-strict-aliasing for gcc4; ok dtucker@
20100304
- (djm) [ssh-keygen.c] Use correct local variable, instead of
diff --git a/configure.ac b/configure.ac
index f4c25683..a9960a7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.443 2010/02/11 23:11:34 djm Exp $
+# $Id: configure.ac,v 1.444 2010/03/05 04:04:35 djm 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.443 $)
+AC_REVISION($Revision: 1.444 $)
AC_CONFIG_SRCDIR([ssh.c])
AC_CONFIG_HEADER(config.h)
@@ -108,7 +108,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
;;
2.*) no_attrib_nonnull=1 ;;
3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;;
- 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security" ;;
+ 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-strict-aliasing" ;;
*) ;;
esac