summaryrefslogtreecommitdiff
path: root/bacula-g++-options.patch
blob: c99093fc48c8ebdab228e4170cd5ad7a61929640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur bacula-11.0.1.old/autoconf/configure.in bacula-11.0.1/autoconf/configure.in
--- bacula-11.0.1.old/autoconf/configure.in	2021-02-11 14:09:48.635047858 +0100
+++ bacula-11.0.1/autoconf/configure.in	2021-02-11 14:10:48.026027852 +0100
@@ -3274,11 +3274,6 @@
 AC_DEFINE(FDLIBS)
 
 CFLAGS=${CFLAGS--O}
-
-if test x$have_gcc = xyes ; then
-   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}
 CPPFLAGS="$CPPFLAGS"
 CFLAGS="$CFLAGS"