]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak recompile configure.in
authorKern Sibbald <kern@sibbald.com>
Thu, 31 Dec 2015 13:22:07 +0000 (14:22 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 31 Dec 2015 13:22:07 +0000 (14:22 +0100)
bacula/configure

index abecaa5cd8455dc99c1f020a402571c57b90a21b..3602d582e3ebbc167bb39942c673b3e82f470b98 100755 (executable)
@@ -30511,7 +30511,7 @@ $as_echo "#define FDLIBS 1" >>confdefs.h
 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}