PKG_LICENSE_FILES:=
PKG_FLAGS:=nonshared
+PKG_BUILD_FLAGS:=gc-sections
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
- -ffunction-sections \
- -fdata-sections \
-Wno-error=dangling-pointer \
-Wno-error=maybe-uninitialized
-TARGET_LDFLAGS += -Wl,--gc-sections
-
CMAKE_OPTIONS += \
-DDEBUG=1