From 5c7c80ce95734ea1fd0eee81d492cbf57b70f2e0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 27 Dec 2015 14:20:45 +0100 Subject: [PATCH] Fix CLANG warning messages -- fixes bug #2090 --- bacula/autoconf/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 39a94cf07e..0ee1bb63c9 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1460,7 +1460,7 @@ AC_ARG_WITH(db_ssl_options, AC_HELP_STRING([--with-db-ssl-options=DBSSLOPTIONS], [specify SSL options for database user connection @<:@default=null@:>@]), [ if test "x$withval" != "x" ; then - db_ssl_options=$withval + db_ssl_options=$withval fi ] ) @@ -2901,7 +2901,7 @@ CFLAGS=${CFLAGS--O} if test x$have_gcc = xyes ; then CPPFLAGS="$CPPFLAGS -fno-strict-aliasing -fno-exceptions -fno-rtti" - CFLAGS="$CFLAGS -fno-strict-aliasing -fno-exceptions -fno-rtti" + CFLAGS="$CFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti" fi LDFLAGS=${LDFLAGS--O} CPPFLAGS="$CPPFLAGS" -- 2.39.5