jsoncpp: add back exceptions
domoticz wants them. No idea how to avoid it. Easier to just add back here. Removed several outdated options from CMake times. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
1517ca5e56
commit
22eefcd7af
1 changed files with 1 additions and 7 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=jsoncpp
|
PKG_NAME:=jsoncpp
|
||||||
PKG_VERSION:=1.9.4
|
PKG_VERSION:=1.9.4
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/$(PKG_VERSION)?
|
||||||
|
@ -19,9 +19,6 @@ PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
CMAKE_INSTALL:=1
|
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=meson/host
|
PKG_BUILD_DEPENDS:=meson/host
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -49,11 +46,8 @@ endef
|
||||||
|
|
||||||
MESON_ARGS += \
|
MESON_ARGS += \
|
||||||
-Db_lto=true \
|
-Db_lto=true \
|
||||||
-Dcpp_eh=none \
|
|
||||||
-Dcpp_rtti=false \
|
|
||||||
-Dtests=false
|
-Dtests=false
|
||||||
|
|
||||||
TARGET_CXXFLAGS += -DJSON_USE_EXCEPTION=0
|
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
|
Loading…
Reference in a new issue