From 2309d88a7abda64f091595fa99ea327381613cd6 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 17 Feb 2018 10:40:32 +0100 Subject: [PATCH] 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 --- net/rtpproxy/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile index 9a91f63..31da89c 100644 --- a/net/rtpproxy/Makefile +++ b/net/rtpproxy/Makefile @@ -23,6 +23,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_CHECK_FORMAT_SECURITY:=0 PKG_INSTALL:=1 +PKG_FIXUP:=autoreconf + PKG_LICENSE:=BSD-2-Clause PKG_LICENSE_FILES:=COPYING PKG_MAINTAINER:=Jiri Slachta @@ -52,6 +54,9 @@ endef CONFIGURE_VARS += \ ac_cv_lib_bcg729_initBcg729EncoderChannel=no +# Otherwise OpenWrt's CPPFLAGS are ignored +TARGET_CFLAGS+=$(TARGET_CPPFLAGS) + define Package/rtpproxy/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/