summaryrefslogtreecommitdiff
path: root/bacula-g++-options.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 13:01:59 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 13:01:59 +0000
commit6d23b443cf3a969b0d95d6d279cad1c6c99c9ca8 (patch)
tree6698599f4bee70e05a8804ba9c97c074fe79ad5c /bacula-g++-options.patch
parente3f3133899f9de6df6fd0be1accc9d925b04ae17 (diff)
automatic import of baculaopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'bacula-g++-options.patch')
-rw-r--r--bacula-g++-options.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/bacula-g++-options.patch b/bacula-g++-options.patch
new file mode 100644
index 0000000..c99093f
--- /dev/null
+++ b/bacula-g++-options.patch
@@ -0,0 +1,15 @@
+diff -Naur bacula-11.0.1.old/autoconf/configure.in bacula-11.0.1/autoconf/configure.in
+--- bacula-11.0.1.old/autoconf/configure.in 2021-02-11 14:09:48.635047858 +0100
++++ bacula-11.0.1/autoconf/configure.in 2021-02-11 14:10:48.026027852 +0100
+@@ -3274,11 +3274,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"