From: Dirk Neukirchen Date: Mon, 15 Jun 2015 10:36:55 +0000 (+0200) Subject: bird: explicitly set C standard X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b7a256e71b69f572218b1b77b65473f6b2ffa11c;p=feed%2Frouting.git 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 --- 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)