diff options
author | Christian Breunig <christian@breunig.cc> | 2024-11-21 20:12:03 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-11-21 20:12:03 +0100 |
commit | e5c8b87e813411b17c1cd755a3e463f66d565f33 (patch) | |
tree | 93d3ac08ba4945fe8c04320c0c2186b72796092b | |
parent | fe472036333946c68bc141d59385de796a0650fe (diff) | |
download | libtacplus-map-e5c8b87e813411b17c1cd755a3e463f66d565f33.tar.gz libtacplus-map-e5c8b87e813411b17c1cd755a3e463f66d565f33.zip |
Define -Wno-error=address and -Wno-error=stringop-truncation to fix build with recent GCC
-rw-r--r-- | Makefile.am | 4 |
1 files 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 |