summaryrefslogtreecommitdiffstats
path: root/ripd/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 /ripd/subdir.am
parentMerge pull request #8258 from volta-networks/feat_ldp_snmp_with_stats (diff)
downloadfrr-247c7e27a9928bd54e336590c526da68d4c79ff1.tar.xz
frr-247c7e27a9928bd54e336590c526da68d4c79ff1.zip
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 'ripd/subdir.am')
-rw-r--r--ripd/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/subdir.am b/ripd/subdir.am
index 875239e87..09d559032 100644
--- a/ripd/subdir.am
+++ b/ripd/subdir.am
@@ -57,6 +57,6 @@ nodist_ripd_ripd_SOURCES = \
# end
ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
-ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
+ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la