bacula/bacula-9.0.7-g++-options.patch
2018-05-14 13:19:34 +02:00

31 lines
1.0 KiB
Diff

diff -Naur bacula-9.0.7.old/autoconf/configure.in bacula-9.0.7/autoconf/configure.in
--- bacula-9.0.7.old/autoconf/configure.in 2018-05-14 13:11:00.903170609 +0200
+++ bacula-9.0.7/autoconf/configure.in 2018-05-14 13:14:07.173620200 +0200
@@ -2947,11 +2947,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.0.7.old/configure bacula-9.0.7/configure
--- bacula-9.0.7.old/configure 2018-05-14 13:11:00.822169109 +0200
+++ bacula-9.0.7/configure 2018-05-14 13:13:59.495478007 +0200
@@ -30826,11 +30826,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"