diff options
| author | Rosen Penev <rosenp@gmail.com> | 2021-02-22 22:05:18 -0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2021-02-22 22:06:16 -0800 |
| commit | 55cec11ad8ea93c223e037e4ad04fce8472a62e6 (patch) | |
| tree | 43d04b8c980944868b8adfaf17059a7d7cbb86a7 /libs/jsoncpp | |
| parent | d3a7eebb11ea6c832f0435e75082263560e39cd1 (diff) | |
jsoncpp: disable exceptions
Reduces size: 59724 to 44439
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/jsoncpp')
| -rw-r--r-- | libs/jsoncpp/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/jsoncpp/Makefile b/libs/jsoncpp/Makefile index c4c737cb5..2fa148f46 100644 --- a/libs/jsoncpp/Makefile +++ b/libs/jsoncpp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=jsoncpp PKG_VERSION:=1.9.4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/$(PKG_VERSION)? @@ -49,8 +49,11 @@ endef MESON_ARGS += \ -Db_lto=true \ + -Dcpp_eh=none \ + -Dcpp_rtti=false \ -Dtests=false +TARGET_CXXFLAGS += -DJSON_USE_EXCEPTION=0 TARGET_LDFLAGS += -Wl,--gc-sections define Build/InstallDev |
