This patch adds comments, how to avoid excessive compilation times due to "gcc -fanalyzer".
2023-06-04 Bruno Haible <br...@clisp.org> uniname/uniname: Add comments. * modules/uniname/uniname (Makefile.am): Explain how to work around a GCC bug. diff --git a/modules/uniname/uniname b/modules/uniname/uniname index d71fe4ed11..826a2290f3 100644 --- a/modules/uniname/uniname +++ b/modules/uniname/uniname @@ -18,6 +18,13 @@ gl_LIBUNISTRING_MODULE([1.1], [uniname/uniname]) Makefile.am: if LIBUNISTRING_COMPILE_UNINAME_UNINAME +# Note: Compilation of this file takes a long time with gcc ≥ 11 and option +# -fanalyzer. See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112>. +# The best workaround is to install GNU libunistring first, and use module +# 'libunistring-optional' in your package. +# An alternative workaround would be to pass the option -fno-analyzer, using +# the technique from +# https://www.gnu.org/software/automake/manual/html_node/Per_002dObject-Flags.html lib_SOURCES += uniname/uniname.c endif