diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-07-26 02:12:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 02:12:39 -0700 |
commit | 77c7d3ac66dafcdc5630340c66a16adc313e8081 (patch) | |
tree | 09caa1bf183cbd3191744da498e8c0b312fad33b /libs | |
parent | 7ac512462ad6bbc9ea7304c5e2c258e4ca86b186 (diff) | |
parent | 89db244af7fbb471f513506a87fddc4118e696af (diff) |
Merge pull request #12925 from neheb/log4
log4cplus: apply cmake options to the host
Diffstat (limited to 'libs')
-rw-r--r-- | libs/log4cplus/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/log4cplus/Makefile b/libs/log4cplus/Makefile index 6a1bf70ab..261e35904 100644 --- a/libs/log4cplus/Makefile +++ b/libs/log4cplus/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=log4cplus PKG_VERSION:=2.0.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/$(PKG_NAME) @@ -42,12 +42,15 @@ define Package/log4cplus/description configuration. It is modeled after the Java log4j API. endef -CMAKE_OPTIONS += \ +OPTIONS:= \ -DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \ -DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \ -DUNICODE:BOOL=OFF \ -DWITH_ICONV:BOOL=OFF +CMAKE_HOST_OPTIONS += $(OPTIONS) +CMAKE_OPTIONS += $(OPTIONS) + TARGET_CFLAGS += -flto TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed |