bacula/bacula-g++-options.patch
2020-03-03 16:24:49 +01:00

16 lines
561 B
Diff

diff -Naur bacula-9.6.2.old/autoconf/configure.in bacula-9.6.2/autoconf/configure.in
--- bacula-9.6.2.old/autoconf/configure.in 2020-03-03 16:21:10.910563621 +0100
+++ bacula-9.6.2/autoconf/configure.in 2020-03-03 16:21:21.733789410 +0100
@@ -3074,11 +3074,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"