summaryrefslogtreecommitdiff
path: root/bird
diff options
context:
space:
mode:
authorDirk Neukirchen <dirkneukirchen@web.de>2015-06-15 12:36:55 +0200
committerDirk Neukirchen <dirkneukirchen@web.de>2015-08-19 10:45:05 +0200
commitb7a256e71b69f572218b1b77b65473f6b2ffa11c (patch)
tree7745868180872f56d832e5af4d2479354ef52724 /bird
parentcad0d08ade73c029e3fe9f9903e436e8aebbf8a5 (diff)
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 <dirkneukirchen@web.de>
Diffstat (limited to 'bird')
-rw-r--r--bird/Makefile2
1 files changed, 2 insertions, 0 deletions
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)