bacula/bacula-9.4.0-g++-options.patch
2019-01-12 15:45:49 +01:00

31 lines
1.0 KiB
Diff

diff -Naur bacula-9.4.0.old/autoconf/configure.in bacula-9.4.0/autoconf/configure.in
--- bacula-9.4.0.old/autoconf/configure.in 2018-12-16 11:30:25.000000000 +0100
+++ bacula-9.4.0/autoconf/configure.in 2019-01-12 15:31:43.259970610 +0100
@@ -2985,11 +2985,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"
diff -Naur bacula-9.4.0.old/configure bacula-9.4.0/configure
--- bacula-9.4.0.old/configure 2018-12-16 11:30:25.000000000 +0100
+++ bacula-9.4.0/configure 2019-01-12 15:31:43.262970667 +0100
@@ -30883,11 +30883,6 @@
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"