Blame SOURCES/bacula-g++-options.patch

13b78d
diff -Naur bacula-11.0.1.old/autoconf/configure.in bacula-11.0.1/autoconf/configure.in
13b78d
--- bacula-11.0.1.old/autoconf/configure.in	2021-02-11 14:09:48.635047858 +0100
13b78d
+++ bacula-11.0.1/autoconf/configure.in	2021-02-11 14:10:48.026027852 +0100
13b78d
@@ -3274,11 +3274,6 @@
13b78d
 AC_DEFINE(FDLIBS)
13b78d
 
13b78d
 CFLAGS=${CFLAGS--O}
13b78d
-
13b78d
-if test x$have_gcc = xyes ; then
13b78d
-   CPPFLAGS="$CPPFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti"
13b78d
-   CFLAGS="$CFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti"
13b78d
-fi
13b78d
 LDFLAGS=${LDFLAGS--O}
13b78d
 CPPFLAGS="$CPPFLAGS"
13b78d
 CFLAGS="$CFLAGS"