mirror of
https://github.com/openwrt/video.git
synced 2024-03-25 11:45:34 +08:00
libdouble-conversion: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
parent
31a58eed87
commit
10a295762b
@ -23,7 +23,7 @@ PKG_LICENSE:=BSD-3c
|
||||
PKG_LICENSE_FILES:=COPYING LICENSE
|
||||
|
||||
CMAKE_INSTALL:=1
|
||||
PKG_BUILD_FLAGS:=gc-sections
|
||||
PKG_BUILD_FLAGS:=gc-sections lto
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
@ -49,7 +49,7 @@ CMAKE_OPTIONS += \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF
|
||||
|
||||
TARGET_CXXFLAGS += -fno-rtti -flto
|
||||
TARGET_CXXFLAGS += -fno-rtti
|
||||
|
||||
define Package/libdouble-conversion/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
|
Loading…
Reference in New Issue
Block a user