index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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
parent
41da31ac2ca2306e9cff070f650f6012af753517
(
diff
)
openssl: add --gc-sections
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Diffstat
-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 8e439e1c31..393976598b 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) \