From b7a256e71b69f572218b1b77b65473f6b2ffa11c Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Mon, 15 Jun 2015 12:36:55 +0200 Subject: [PATCH] bird: explicitly set C standard fixes gcc5 compile compile error was: cf-lex.o: In function `add_tail': cf-lex.c:(.text+0x2d1): multiple definition of `add_tail' cf-parse.tab.o:cf-parse.tab.c:(.text+0x1f9): first defined here Signed-off-by: Dirk Neukirchen --- bird/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bird/Makefile b/bird/Makefile index 5f8200c..eeb5106 100644 --- a/bird/Makefile +++ b/bird/Makefile @@ -161,6 +161,8 @@ endef CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)" +TARGET_CFLAGS+=-std=gnu89 + define Build/Template $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)