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 /Makefile.am | |
parent | build: make builddir include path consistent (diff) | |
download | frr-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 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 87ba4aff9..f6b1dcf32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,7 @@ AUTOMAKE_OPTIONS = subdir-objects 1.12 ACLOCAL_AMFLAGS = -I m4 AM_CFLAGS = \ + $(AC_CFLAGS) \ $(LIBYANG_CFLAGS) \ $(SQLITE3_CFLAGS) \ $(UNWIND_CFLAGS) \ |