forked from Mirror/frr
build: fix assert() use in .pb-c.c files
The .pb-c.c files pick up our assert() override, but that needs config.h to be included too, and that needs to go at the very top of the file... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
f71e1ff6a9
commit
20a4a2e9e6
|
@ -44,6 +44,7 @@ am__v_PROTOC_C_1 =
|
|||
|
||||
.proto.pb-c.c:
|
||||
$(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_builddir) $^
|
||||
$(AM_V_GEN)$(SED) -e '1i#include "config.h"' -i $@
|
||||
.pb-c.c.pb-c.h:
|
||||
@/bin/true
|
||||
|
||||
|
|
Loading…
Reference in a new issue