diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-01-23 09:38:54 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-01-23 09:38:54 +0100 |
| commit | 53c465cba633e235c02d44aaa26b9c61f8c0e11f (patch) | |
| tree | 21dd136dc69bd7b402ecdc8dce6899bf7344bf6b | |
| parent | c594a60da0a87d10b589c7b7b5e9c7362cbc5c1c (diff) | |
| download | monitoring-plugins-53c465cba633e235c02d44aaa26b9c61f8c0e11f.tar.gz | |
removed -Werror=declaration-after-statement from net-snmp-config --cflags causing trouble in check_snmp.c
| -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 |
