diff options
author | David Lamparter <equinox@diac24.net> | 2021-02-21 05:55:18 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-03-17 06:18:17 +0100 |
commit | 247c7e27a9928bd54e336590c526da68d4c79ff1 (patch) | |
tree | cb188e64ea725634c783fdc8db6a31ff373dbdfe /lib | |
parent | Merge pull request #8258 from volta-networks/feat_ldp_snmp_with_stats (diff) | |
download | frr-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 'lib')
-rw-r--r-- | lib/subdir.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index 38d1a3f77..bfd367b13 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -313,7 +313,7 @@ if SNMP lib_LTLIBRARIES += lib/libfrrsnmp.la endif -lib_libfrrsnmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99 +lib_libfrrsnmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11 lib_libfrrsnmp_la_LDFLAGS = -version-info 0:0:0 lib_libfrrsnmp_la_LIBADD = $(SNMP_LIBS) lib_libfrrsnmp_la_SOURCES = \ |