|
|
@ -9,12 +9,12 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=log4cplus |
|
|
|
PKG_VERSION:=2.0.6 |
|
|
|
PKG_VERSION:=2.0.7 |
|
|
|
PKG_RELEASE:=$(AUTORELEASE) |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME) |
|
|
|
PKG_HASH:=73519a5e47c40cf375aa6cd28a703b01908b5dcd3f4cb4290db2fef237c8180c |
|
|
|
PKG_HASH:=8f74a0a5920ba044b24e2ebeb0f1e5e36d85d5c23ed48d9fe328882b16130db8 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=BangLang Huang <banglang.huang@foxmail.com>, Rosy Song <rosysong@rosinson.com> |
|
|
|
PKG_LICENSE:=BSD-2-Clause Apache-2.0 |
|
|
@ -43,11 +43,12 @@ endef |
|
|
|
OPTIONS:= \
|
|
|
|
-DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \
|
|
|
|
-DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \
|
|
|
|
-DLOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME:BOOL=OFF \
|
|
|
|
-DUNICODE:BOOL=OFF \
|
|
|
|
-DWITH_ICONV:BOOL=OFF |
|
|
|
|
|
|
|
CMAKE_HOST_OPTIONS += $(OPTIONS) |
|
|
|
CMAKE_OPTIONS += $(OPTIONS) |
|
|
|
CMAKE_HOST_OPTIONS += $(OPTIONS) -DBUILD_SHARED_LIBS=OFF |
|
|
|
CMAKE_OPTIONS += $(OPTIONS) -DBUILD_SHARED_LIBS=ON |
|
|
|
|
|
|
|
TARGET_CFLAGS += -flto |
|
|
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed |
|
|
|