commit 24acd472d7803fcbdc87f7f69795b6b26bb94847
parent dbde5d52951f7d6fa5c5c7034850ea0ab08c81ec
Author: Jo-Philipp Wich <jow@openwrt.org>
Date: Tue, 24 Nov 2015 16:16:55 +0100
Merge pull request #2016 from padre-lacroix/master
bandwidthd: fix build with gcc5
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/bandwidthd/Makefile b/utils/bandwidthd/Makefile
@@ -82,7 +82,7 @@ CONFIGURE_ARGS += \
ac_cv_file__usr_local_pgsql_include=no
endif
-EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
+EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -std=gnu89
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
define Package/bandwidthd/install
diff --git a/utils/bandwidthd/files/bandwidthd.init b/utils/bandwidthd/files/bandwidthd.init
@@ -1,5 +1,5 @@
#!/bin/sh /etc/rc.common
-# Copyright (C) 2008-2011 OpenWrt.org
+# Copyright (C) 2008-2015 OpenWrt.org
START=99