diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-04-21 11:54:48 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-04-21 15:42:36 +0200 | 
| commit | 0c4285d77eb66642c7e16a0c8dfda9eea4a4a5b1 (patch) | |
| tree | 731db39537468eeddd6353ed0ac41cf0bdf237b6 /zebra/subdir.am | |
| parent | 09781197b60f60afc3be62f3329d8c97623fc346 (diff) | |
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 'zebra/subdir.am')
| -rw-r--r-- | zebra/subdir.am | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/subdir.am b/zebra/subdir.am index f0d1c5844f..6fc8ef0df5 100644 --- a/zebra/subdir.am +++ b/zebra/subdir.am @@ -193,7 +193,7 @@ zebra_zebra_irdp_la_SOURCES = \  zebra_zebra_irdp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic  zebra_zebra_snmp_la_SOURCES = zebra/zebra_snmp.c -zebra_zebra_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11 +zebra_zebra_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11  zebra_zebra_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic  zebra_zebra_snmp_la_LIBADD = lib/libfrrsnmp.la  | 
