telldus-core: Fix compilation with full NLS

-fpermissive is needed due to mismatching parameters (const char vs char).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-05-12 00:38:50 -07:00
parent 6d6bceed8c
commit 654d857536
1 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=telldus-core
PKG_VERSION:=2.1.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=LGPL-2.1
PKG_BUILD_DEPENDS:=argp-standalone
@ -40,6 +40,8 @@ CMAKE_OPTIONS+=\
-DGENERATE_MAN=0 \
-DICONV_LIBRARY=-liconv
TARGET_CXXFLAGS += -fpermissive
define Package/telldus-core/conffiles
/etc/tellstick.conf
endef