mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #12925 from neheb/log4
log4cplus: apply cmake options to the host
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=log4cplus
|
PKG_NAME:=log4cplus
|
||||||
PKG_VERSION:=2.0.5
|
PKG_VERSION:=2.0.5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||||
@@ -42,12 +42,15 @@ define Package/log4cplus/description
|
|||||||
configuration. It is modeled after the Java log4j API.
|
configuration. It is modeled after the Java log4j API.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
OPTIONS:= \
|
||||||
-DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \
|
-DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \
|
||||||
-DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \
|
-DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \
|
||||||
-DUNICODE:BOOL=OFF \
|
-DUNICODE:BOOL=OFF \
|
||||||
-DWITH_ICONV:BOOL=OFF
|
-DWITH_ICONV:BOOL=OFF
|
||||||
|
|
||||||
|
CMAKE_HOST_OPTIONS += $(OPTIONS)
|
||||||
|
CMAKE_OPTIONS += $(OPTIONS)
|
||||||
|
|
||||||
TARGET_CFLAGS += -flto
|
TARGET_CFLAGS += -flto
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user