Signed-off-by: Dirk Feytons <dirk.feyt...@gmail.com> --- package/libs/openssl/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 4782c42..d10b447 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -185,7 +185,8 @@ define Build/Configure depend endef -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ -- 1.7.9.5 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel