diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-04-07 14:13:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-07 14:13:38 +0200 |
| commit | ddd1bd9fbd84b29fb169e592943d1fdfc8ad0d7e (patch) | |
| tree | a50e528af9dd83097e8e1ff4ad0718900be77331 | |
| parent | 7c20cb97292a8207b0fe4e76425b62409be68b12 (diff) | |
| download | monitoring-plugins-ddd1bd9fbd84b29fb169e592943d1fdfc8ad0d7e.tar.gz | |
removed -Werror=declaration-after-statement from net-snmp-config --cflags causing trouble in check_snmp.c (#2250)HEADmaster
Co-authored-by: Andreas Baumann <mail@andreasbaumann.cc>
| -rw-r--r-- | plugins/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index a35f273e..2bea8fc0 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am | |||
| @@ -166,7 +166,7 @@ check_real_LDADD = $(NETLIBS) | |||
| 166 | check_snmp_SOURCES = check_snmp.c check_snmp.d/check_snmp_helpers.c | 166 | check_snmp_SOURCES = check_snmp.c check_snmp.d/check_snmp_helpers.c |
| 167 | check_snmp_LDADD = $(BASEOBJS) | 167 | check_snmp_LDADD = $(BASEOBJS) |
| 168 | check_snmp_LDFLAGS = $(AM_LDFLAGS) -lm `net-snmp-config --libs` | 168 | check_snmp_LDFLAGS = $(AM_LDFLAGS) -lm `net-snmp-config --libs` |
| 169 | check_snmp_CFLAGS = $(AM_CFLAGS) `net-snmp-config --cflags` | 169 | check_snmp_CFLAGS = $(AM_CFLAGS) `net-snmp-config --cflags | sed 's/-Werror=declaration-after-statement//'` |
| 170 | check_smtp_LDADD = $(SSLOBJS) | 170 | check_smtp_LDADD = $(SSLOBJS) |
| 171 | check_ssh_LDADD = $(NETLIBS) | 171 | check_ssh_LDADD = $(NETLIBS) |
| 172 | check_swap_SOURCES = check_swap.c check_swap.d/swap.c | 172 | check_swap_SOURCES = check_swap.c check_swap.d/swap.c |
