Don't use -Werror, to prevent build failure with compilers or compiler
versions different from the ones the developers tested with.
https://savannah.gnu.org/bugs/index.php?62326
--- src/Makefile.in.orig	2018-09-05 16:00:11.000000000 -0500
+++ src/Makefile.in	2022-04-17 00:00:47.000000000 -0500
@@ -352,7 +352,7 @@
 BUILT_SOURCES = gperf.c gperf-cc.c
 AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/intl
 MAINTAINERCLEANFILES = Makefile.in libgettext.h
-AM_CFLAGS = -Wall -W -Werror -Wredundant-decls -Wshadow \
+AM_CFLAGS = -Wall -W -Wredundant-decls -Wshadow \
 	-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs \
 	-Wmissing-declarations -Wcomment -Wbad-function-cast \
 	-Wcast-align $(am__append_1)
