summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-04-21 11:54:48 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-04-21 15:42:36 +0200
commit0c4285d77eb66642c7e16a0c8dfda9eea4a4a5b1 (patch)
tree731db39537468eeddd6353ed0ac41cf0bdf237b6 /ripd
parentbuild: make builddir include path consistent (diff)
downloadfrr-0c4285d77eb66642c7e16a0c8dfda9eea4a4a5b1.tar.xz
frr-0c4285d77eb66642c7e16a0c8dfda9eea4a4a5b1.zip
build: properly split CFLAGS from AC_CFLAGS
`CFLAGS` is a "user variable", not intended to be controlled by configure itself. Let's put all the "important" stuff in AC_CFLAGS and only leave debug/optimization controls in CFLAGS. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/subdir.am b/ripd/subdir.am
index 99979bff0..8de0fc4b5 100644
--- a/ripd/subdir.am
+++ b/ripd/subdir.am
@@ -56,6 +56,6 @@ nodist_ripd_ripd_SOURCES = \
# end
ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
-ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11
+ripd_ripd_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la