]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix CLANG warning messages -- fixes bug #2090
authorKern Sibbald <kern@sibbald.com>
Sun, 27 Dec 2015 13:20:45 +0000 (14:20 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 27 Dec 2015 13:20:45 +0000 (14:20 +0100)
bacula/autoconf/configure.in

index 39a94cf07e0905ca963d3c1ff5354fc7ce20b73f..0ee1bb63c955a9b18a6a91b49a3bca4178ec6446 100644 (file)
@@ -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"