bacula/bacula-9.2.1-g++-options.patch

31 lines
1.0 KiB
Diff
Raw Normal View History

2018-08-20 15:08:19 +00:00
diff -Naur bacula-9.2.1.old/autoconf/configure.in bacula-9.2.1/autoconf/configure.in
--- bacula-9.2.1.old/autoconf/configure.in 2018-08-20 16:48:59.390677113 +0200
+++ bacula-9.2.1/autoconf/configure.in 2018-08-20 17:02:58.579289152 +0200
@@ -2983,11 +2983,6 @@
2018-05-14 11:19:34 +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"
2018-08-20 15:08:19 +00:00
diff -Naur bacula-9.2.1.old/configure bacula-9.2.1/configure
--- bacula-9.2.1.old/configure 2018-08-20 16:48:59.380676927 +0200
+++ bacula-9.2.1/configure 2018-08-20 17:02:58.582289208 +0200
@@ -30881,11 +30881,6 @@
2018-05-14 11:19:34 +00:00
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"