From 5a3a4984f1f90c4480fe7516cb3f26220d74b18d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 4 Jun 2023 14:08:24 +0200 Subject: [PATCH] uniname/uniname: Add comments. * modules/uniname/uniname (Makefile.am): Explain how to work around a GCC bug. --- ChangeLog | 6 ++++++ modules/uniname/uniname | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 72afbccd72..8376342668 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-06-04 Bruno Haible + + uniname/uniname: Add comments. + * modules/uniname/uniname (Makefile.am): Explain how to work around a + GCC bug. + 2023-06-04 Bruno Haible uniname/uniname: Fix -Wformat-signedness warning. 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 . +# 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 -- 2.39.5