summaryrefslogtreecommitdiff
path: root/ldpd/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-21 05:55:18 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-17 06:18:17 +0100
commit247c7e27a9928bd54e336590c526da68d4c79ff1 (patch)
treecb188e64ea725634c783fdc8db6a31ff373dbdfe /ldpd/subdir.am
parent4d7ae2c0ddc439c0409b04d8b68efa18d4ceeed2 (diff)
snmp: change -std=gnu99 to -std=gnu11
The point of the `-std=gnu99` was to override a `-std=c99` that may be coming in from net-snmp. However, we want C11, not C99. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ldpd/subdir.am')
-rw-r--r--ldpd/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/subdir.am b/ldpd/subdir.am
index b01d414de8..aa9b751bcc 100644
--- a/ldpd/subdir.am
+++ b/ldpd/subdir.am
@@ -65,6 +65,6 @@ ldpd_ldpd_SOURCES = ldpd/ldpd.c
ldpd_ldpd_LDADD = ldpd/libldp.a lib/libfrr.la $(LIBCAP)
ldpd_ldpd_snmp_la_SOURCES = ldpd/ldp_snmp.c
-ldpd_ldpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
+ldpd_ldpd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11
ldpd_ldpd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
ldpd_ldpd_snmp_la_LIBADD = lib/libfrrsnmp.la