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 <sebastian_ml@gmx.net>
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
endef
# Otherwise spandsp ignores OpenWrt's CPPFLAGS
-TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS)
+TARGET_CFLAGS += $(TARGET_CPPFLAGS)
CMAKE_OPTIONS += \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \