Browse Source

Merge pull request #14874 from neheb/jso

jsoncpp: disable exceptions
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
476c7d1b95
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libs/jsoncpp/Makefile

+ 4
- 1
libs/jsoncpp/Makefile View File

@ -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:=1
PKG_RELEASE:=2
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)?
@ -49,8 +49,11 @@ 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…
Cancel
Save