Преглед на файлове

bandwidthd: fix build with gcc5

This is a small fix to allow the package to compile with gcc5
Addition of the -std=gnu89 CFLAGS.
Small correction of the copyright date of file bandwidthd.init

Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
Jean-Michel Lacroix преди 9 години
родител
ревизия
6b0288785c
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1
    1
      utils/bandwidthd/Makefile
  2. 1
    1
      utils/bandwidthd/files/bandwidthd.init

+ 1
- 1
utils/bandwidthd/Makefile Целия файл

@@ -82,7 +82,7 @@ CONFIGURE_ARGS += \
82 82
         ac_cv_file__usr_local_pgsql_include=no
83 83
 endif
84 84
 
85
-EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
85
+EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -std=gnu89
86 86
 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
87 87
 
88 88
 define Package/bandwidthd/install

+ 1
- 1
utils/bandwidthd/files/bandwidthd.init Целия файл

@@ -1,5 +1,5 @@
1 1
 #!/bin/sh /etc/rc.common
2
-# Copyright (C) 2008-2011 OpenWrt.org
2
+# Copyright (C) 2008-2015 OpenWrt.org
3 3
 
4 4
 START=99
5 5