From 03af12e9305900611bec6b5f4b106891f025c8a6 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 3 Dec 2012 11:55:53 +1100 Subject: [PATCH] - (djm) [configure.ac] Turn on -g for gcc compilers. Helps pre-installation debugging. ok dtucker@ --- ChangeLog | 2 ++ configure.ac | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83b13d7d7..bc3302a60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -33,6 +33,8 @@ - djm@cvs.openbsd.org 2012/12/03 00:14:06 [auth2-chall.c ssh-keygen.c] Fix compilation with -Wall -Werror (trivial type fixes) + - (djm) [configure.ac] Turn on -g for gcc compilers. Helps pre-installation + debugging. ok dtucker@ 20121114 - (djm) OpenBSD CVS Sync diff --git a/configure.ac b/configure.ac index a704fc7ff..0fa9ba827 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.496 2012/07/06 01:49:29 djm Exp $ +# $Id: configure.ac,v 1.497 2012/12/03 00:55:54 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.496 $) +AC_REVISION($Revision: 1.497 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -155,6 +155,7 @@ AC_ARG_WITH([stackprotect], if test "$GCC" = "yes" || test "$GCC" = "egcs"; then + OSSH_CHECK_CFLAG_COMPILE([-g]) OSSH_CHECK_CFLAG_COMPILE([-Wall]) OSSH_CHECK_CFLAG_COMPILE([-Wpointer-arith]) OSSH_CHECK_CFLAG_COMPILE([-Wuninitialized])