net/rtpproxy: update flags
rtpproxy doesn't use OpenWrt's CPPFLAGS (i.e. used for including fortify-source headers). Add them to CFLAGS. Run autoreconf. It's usually a good idea. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
dea8fc71bd
commit
2309d88a7a
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_CHECK_FORMAT_SECURITY:=0
|
PKG_CHECK_FORMAT_SECURITY:=0
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
PKG_FIXUP:=autoreconf
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-2-Clause
|
PKG_LICENSE:=BSD-2-Clause
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
|
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
|
||||||
|
@ -52,6 +54,9 @@ endef
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
ac_cv_lib_bcg729_initBcg729EncoderChannel=no
|
ac_cv_lib_bcg729_initBcg729EncoderChannel=no
|
||||||
|
|
||||||
|
# Otherwise OpenWrt's CPPFLAGS are ignored
|
||||||
|
TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
define Package/rtpproxy/install
|
define Package/rtpproxy/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
|
||||||
|
|
Loading…
Reference in a new issue