dovecot-2.1: configure: Add -fno-builtin-strftime flag with gcc ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jan 11 10:31:36 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/e0ff21d73630
changeset: 13930:e0ff21d73630
user: Timo Sirainen <tss at iki.fi>
date: Wed Jan 11 10:31:25 2012 +0200
description:
configure: Add -fno-builtin-strftime flag with gcc to avoid warning.
diffstat:
configure.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 19700d683144 -r e0ff21d73630 configure.in
--- a/configure.in Tue Jan 10 23:34:43 2012 +0200
+++ b/configure.in Wed Jan 11 10:31:25 2012 +0200
@@ -301,6 +301,9 @@
# -Wmissing-format-attribute -Wmissing-noreturn -Wwrite-strings # a couple of warnings
CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast"
+ # This is simply to avoid warning when building strftime() wrappers..
+ CFLAGS="$CFLAGS -fno-builtin-strftime"
+
AC_TRY_COMPILE([
#if __GNUC__ < 4
# error old gcc
More information about the dovecot-cvs
mailing list