bacula/bacula-g++-options.patch

16 lines
565 B
Diff
Raw Normal View History

2021-01-12 11:38:25 +00:00
diff -Naur bacula-11.0.0.old/autoconf/configure.in bacula-11.0.0/autoconf/configure.in
--- bacula-11.0.0.old/autoconf/configure.in 2021-01-12 12:36:32.689471174 +0100
+++ bacula-11.0.0/autoconf/configure.in 2021-01-12 12:42:02.619511095 +0100
@@ -3271,11 +3271,6 @@
2019-01-13 11:40:35 +00:00
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"