bacula/bacula-9.4.1-g++-options.patch
2019-01-13 12:40:35 +01:00

16 lines
561 B
Diff

diff -Naur bacula-9.4.1.old/autoconf/configure.in bacula-9.4.1/autoconf/configure.in
--- bacula-9.4.1.old/autoconf/configure.in 2019-01-13 11:43:36.011952506 +0100
+++ bacula-9.4.1/autoconf/configure.in 2019-01-13 11:44:42.663167694 +0100
@@ -2986,11 +2986,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"