Browse Source

Merge pull request #2016 from padre-lacroix/master

bandwidthd: fix build with gcc5
lilik-openwrt-22.03
Jo-Philipp Wich 9 years ago
parent
commit
24acd472d7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/bandwidthd/Makefile
  2. +1
    -1
      utils/bandwidthd/files/bandwidthd.init

+ 1
- 1
utils/bandwidthd/Makefile View File

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


+ 1
- 1
utils/bandwidthd/files/bandwidthd.init View File

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


Loading…
Cancel
Save