diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch')
-rw-r--r-- | net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch b/net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch new file mode 100644 index 000000000000..d320b9d1f349 --- /dev/null +++ b/net-im/jabberd2/files/jabberd2-2.3.4-optimization.patch @@ -0,0 +1,21 @@ +Re-allow the use of O3/Os, since it seems to have been an old compiler +bug. + +See https://github.com/jabberd2/jabberd2/issues/34 + +--- a/configure.ac ++++ b/configure.ac +@@ -23,13 +23,6 @@ + LIBS="$LIBS $lt_cv_dlopen_libs" + fi + +-# check for optimisation level +-AC_MSG_CHECKING([CFLAGS optimization level]) +-[if echo $CFLAGS | grep '.*-O[3s].*' >/dev/null 2>&1; then] +- AC_MSG_ERROR([maximum allowed optimization level is -O2]) +-fi +-AC_MSG_RESULT([fine]) +- + # extra paths + AC_ARG_WITH([extra_include_path], AC_HELP_STRING([--with-extra-include-path], + [use additional include paths]), |