diff options
author | Dirk Feytons <dirk.feytons@gmail.com> | 2016-06-02 13:43:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-23 12:10:08 +0200 |
commit | 057b116e092aa7386f610dc6682cb400e4276314 (patch) | |
tree | 7ac981d78e999e66d858321474b0e7fce1508f5f /package/libs/openssl | |
parent | 41da31ac2ca2306e9cff070f650f6012af753517 (diff) | |
download | mtk-20170518-057b116e092aa7386f610dc6682cb400e4276314.zip mtk-20170518-057b116e092aa7386f610dc6682cb400e4276314.tar.gz mtk-20170518-057b116e092aa7386f610dc6682cb400e4276314.tar.bz2 |
openssl: add --gc-sections
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Diffstat (limited to 'package/libs/openssl')
-rw-r--r-- | package/libs/openssl/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 8e439e1..3939765 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -184,7 +184,8 @@ define Build/Configure depend endef -TARGET_CFLAGS += $(FPIC) -I$(CURDIR)/include +TARGET_CFLAGS += $(FPIC) -I$(CURDIR)/include -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ |