From: Todd C. Miller Date: Wed, 19 Dec 2001 15:56:47 +0000 (+0000) Subject: avoid the -g flag unless --with-devel was specified X-Git-Tag: SUDO_1_6_4~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83c2e51bad746d54b09e47c7ec71150e049006ec;p=sudo avoid the -g flag unless --with-devel was specified --- diff --git a/configure.in b/configure.in index b257404a9..5acb4bb17 100644 --- a/configure.in +++ b/configure.in @@ -1058,6 +1058,13 @@ if test -z "$EGREPPROG"; then exit fi +dnl +dnl Prevent configure from adding the -g flag unless in devel mode +dnl +if test "$with_devel" != "yes"; then + ac_cv_prog_cc_g=no +fi + dnl dnl C compiler checks dnl XXX - the cross-compiler check gets false positives so we override it