From 0c4285d77eb66642c7e16a0c8dfda9eea4a4a5b1 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 21 Apr 2021 11:54:48 +0200 Subject: 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 --- isisd/subdir.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd') diff --git a/isisd/subdir.am b/isisd/subdir.am index 11bae4165..4243bd60c 100644 --- a/isisd/subdir.am +++ b/isisd/subdir.am @@ -138,7 +138,7 @@ nodist_isisd_isisd_SOURCES = \ # end isisd_isisd_snmp_la_SOURCES = isisd/isis_snmp.c -isisd_isisd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11 +isisd_isisd_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11 isisd_isisd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic isisd_isisd_snmp_la_LIBADD = lib/libfrrsnmp.la -- cgit v1.2.3