openssl: add --gc-sections
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
This commit is contained in:
parent
41da31ac2c
commit
057b116e09
1 changed files with 2 additions and 1 deletions
|
@ -184,7 +184,8 @@ define Build/Configure
|
||||||
depend
|
depend
|
||||||
endef
|
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
|
define Build/Compile
|
||||||
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
||||||
|
|
Loading…
Reference in a new issue