From e5c8b87e813411b17c1cd755a3e463f66d565f33 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 21 Nov 2024 20:12:03 +0100 Subject: Define -Wno-error=address and -Wno-error=stringop-truncation to fix build with recent GCC --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 35235ff..2b34ffd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ lib_LTLIBRARIES = libtacplus_map.la libtacplus_map_la_SOURCES = map_tacplus_user.h \ map_tacplus_user.c -libtacplus_map_la_CFLAGS = $(AM_CFLAGS) -Ilibtac/include +libtacplus_map_la_CFLAGS = $(AM_CFLAGS) -Ilibtac/include -Wno-error=address -Wno-error=stringop-truncation libtacplus_map_la_LDFLAGS = -version-info 1:0:0 -shared -Wl,--no-undefined libtacplus_map_la_LIBADD = -L.libs -laudit @@ -26,7 +26,7 @@ MAINTAINERCLEANFILES = Makefile.in config.h.in configure aclocal.m4 \ config/install-sh config/ltmain.sh config/missing clean-generic: - rm -rf autom4te*.cache + rm -rf autom4te*.cache rm -f *.rej *.orig *.lang dumpmap sudoersd = $(DESTDIR)$(sysconfdir)/sudoers.d -- cgit v1.2.3