]> git.sur5r.net Git - bacula/bacula/commitdiff
One more tweak for fixing clang compiler complaints
authorKern Sibbald <kern@sibbald.com>
Thu, 31 Dec 2015 13:21:45 +0000 (14:21 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 31 Dec 2015 13:21:45 +0000 (14:21 +0100)
bacula/autoconf/configure.in

index 9213592c56c49196d6b65ba96de855d2ba819ab3..7510751443c7623ea6e8784896c69299919b93f5 100644 (file)
@@ -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}