summaryrefslogtreecommitdiffstats
path: root/ospfd/subdir.am
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/subdir.am')
-rw-r--r--ospfd/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/subdir.am b/ospfd/subdir.am
index f592a9eec..574e0e3bd 100644
--- a/ospfd/subdir.am
+++ b/ospfd/subdir.am
@@ -115,7 +115,7 @@ ospfd_ospfd_LDADD = ospfd/libfrrospf.a lib/libfrr.la $(LIBCAP) $(LIBM)
ospfd_ospfd_SOURCES = ospfd/ospf_main.c
ospfd_ospfd_snmp_la_SOURCES = ospfd/ospf_snmp.c
-ospfd_ospfd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11
+ospfd_ospfd_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11
ospfd_ospfd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
ospfd_ospfd_snmp_la_LIBADD = lib/libfrrsnmp.la