See commit
da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>
PKG_LICENSE_FILES:=COPYING LICENSE
CMAKE_INSTALL:=1
+PKG_BUILD_FLAGS:=gc-sections
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF
-TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -fno-rtti -flto
-TARGET_LDFLAGS += -Wl,--gc-sections
+TARGET_CXXFLAGS += -fno-rtti -flto
define Package/libdouble-conversion/install
$(INSTALL_DIR) $(1)/usr/lib