bacula/bacula-9.4.2-g++-options.patch
2019-04-18 12:38:09 +02:00

16 lines
561 B
Diff

diff -Naur bacula-9.4.2.old/autoconf/configure.in bacula-9.4.2/autoconf/configure.in
--- bacula-9.4.2.old/autoconf/configure.in 2019-04-18 11:49:06.099005902 +0200
+++ bacula-9.4.2/autoconf/configure.in 2019-04-18 11:49:27.545391181 +0200
@@ -2993,11 +2993,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"