From: Kern Sibbald Date: Thu, 31 Dec 2015 13:21:45 +0000 (+0100) Subject: One more tweak for fixing clang compiler complaints X-Git-Tag: Release-7.4.0~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1770cf29bd3f39fa8b529f0d5625d498510cf729;p=bacula%2Fbacula One more tweak for fixing clang compiler complaints --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 9213592c56..7510751443 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -2900,7 +2900,7 @@ AC_DEFINE(FDLIBS) CFLAGS=${CFLAGS--O} if test x$have_gcc = xyes ; then - CPPFLAGS="$CPPFLAGS -fno-strict-aliasing -fno-exceptions -fno-rtti" + CPPFLAGS="$CPPFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti" CFLAGS="$CFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti" fi LDFLAGS=${LDFLAGS--O}