1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Include accidentally deleted macro
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2025-06-04
Forwarded: no
--- a/config/pmix_check_cflags.m4
+++ b/config/pmix_check_cflags.m4
@@ -40,3 +40,22 @@
AC_MSG_RESULT([yes])
fi
])
+
+AC_DEFUN([_PMIX_CHECK_LTO_FLAG], [
+ chkflg=`echo $1 | grep -- lto`
+ if test -n "$chkflg"; then
+ AC_MSG_WARN([Configure has detected the presence of one or more])
+ AC_MSG_WARN([compiler directives involving the lto optimizer])
+ AC_MSG_WARN([$2. PMIx does not currently support such directives])
+ AC_MSG_WARN([as they conflict with the plugin architecture of the])
+ AC_MSG_WARN([PMIx library. The directive is being ignored.])
+ newflg=
+ for item in $1; do
+ chkflg=`echo $item | grep -- lto`
+ if test ! -n "$chkflg"; then
+ newflg+="$item "
+ fi
+ done
+ $2="$newflg"
+ fi
+])
|