From 1770cf29bd3f39fa8b529f0d5625d498510cf729 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 31 Dec 2015 14:21:45 +0100 Subject: [PATCH] One more tweak for fixing clang compiler complaints --- bacula/autoconf/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.5