forked from Mirror/frr
build: fix clippy cross-compile
Broke the build-for-host setup for clippy in the non-recursive changes :/ Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
3619938e2f
commit
89727c8d9e
|
@ -180,16 +180,22 @@ lib_libfrrsnmp_la_SOURCES = \
|
|||
# CLI utilities
|
||||
#
|
||||
noinst_PROGRAMS += \
|
||||
lib/clippy \
|
||||
lib/grammar_sandbox \
|
||||
# end
|
||||
|
||||
if BUILD_CLIPPY
|
||||
noinst_PROGRAMS += lib/clippy
|
||||
else
|
||||
$(HOSTTOOLS)lib/clippy:
|
||||
@$(MAKE) -C $(top_builddir)/$(HOSTTOOLS) lib/route_types.h lib/clippy
|
||||
endif
|
||||
|
||||
lib_grammar_sandbox_SOURCES = \
|
||||
lib/grammar_sandbox_main.c
|
||||
lib_grammar_sandbox_LDADD = \
|
||||
lib/libfrr.la
|
||||
|
||||
lib_clippy_CPPFLAGS = -D_GNU_SOURCE -I$(top_srcdir)/lib
|
||||
lib_clippy_CPPFLAGS = $(AM_CPPFLAGS) -D_GNU_SOURCE
|
||||
lib_clippy_CFLAGS = $(PYTHON_CFLAGS)
|
||||
lib_clippy_LDADD = $(PYTHON_LIBS)
|
||||
lib_clippy_SOURCES = \
|
||||
|
|
Loading…
Reference in a new issue