From: Sebastian Kemper Date: Sat, 24 Feb 2018 08:45:23 +0000 (+0100) Subject: bcg729: remove $(FPIC) from TARGET_CFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d1651c7a1bfca6043545396c20a8a7c24477454;p=feed%2Ftelephony.git bcg729: remove $(FPIC) from TARGET_CFLAGS bgg729 already makes sure that the compiler emits position-independent code. Adding $(FPIC) makes no difference. In addition the bcg729 build system puts its own flag behind the CFLAGS, overriding whatever was set before. Signed-off-by: Sebastian Kemper --- diff --git a/libs/bcg729/Makefile b/libs/bcg729/Makefile index c3a7e54..116b7b4 100644 --- a/libs/bcg729/Makefile +++ b/libs/bcg729/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bcg729 PKG_VERSION:=1.0.4 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.linphone.org/releases/sources/bcg729 @@ -41,7 +41,7 @@ define Package/bcg729/description endef # Otherwise spandsp ignores OpenWrt's CPPFLAGS -TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS) +TARGET_CFLAGS += $(TARGET_CPPFLAGS) CMAKE_OPTIONS += \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \