diff options
| author | Christian Breunig <christian@breunig.cc> | 2024-11-21 20:06:14 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2024-11-21 20:10:08 +0100 |
| commit | 4d834fcd8f37c62a9674d9d2ed98bce291c30173 (patch) | |
| tree | f44a02abbbf4ba25b5b848743e20229bda24d92b | |
| parent | 049d2843b521d15e2f355430d94eb9d2e83311be (diff) | |
| download | libnss-tacplus-4d834fcd8f37c62a9674d9d2ed98bce291c30173.tar.gz libnss-tacplus-4d834fcd8f37c62a9674d9d2ed98bce291c30173.zip | |
Define -Wno-error=address for pointer operand to fix build with recent GCC
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rwxr-xr-x | debian/rules | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index fb0a9d1..535578a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ nss_tacplus.h dist_man_MANS = tacplus_nss.conf.5 -libnss_tacplus_la_CFLAGS = $(AM_CFLAGS) +libnss_tacplus_la_CFLAGS = -Wno-error=address -Wno-error=stringop-truncation $(AM_CFLAGS) # Version 2.0 because that's the NSS module version, and they must match libnss_tacplus_la_LDFLAGS = -module -version-info 2:0:0 -shared libnss_tacplus_la_LIBADD = -ltacplus_map -ltac -laudit diff --git a/debian/rules b/debian/rules index b37d726..733d6e8 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all # main packaging script based on dh7 syntax %: - dh $@ --with autotools-dev + dh $@ --with autoreconf # this library installs into /lib, not /usr/lib; I don't see any other # way to do this, although there must be a way... |
