[OpenWrt-Devel] [PATCH 3/3] musl: Activate hardening features

Hauke Mehrtens hauke at hauke-m.de
Wed Jan 2 12:18:35 EST 2019


This activates the hardening features controlled over the LDFLAGS

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/musl/common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk
index 234709103c..d48212f625 100644
--- a/toolchain/musl/common.mk
+++ b/toolchain/musl/common.mk
@@ -33,6 +33,7 @@ TARGET_CFLAGS:= $(filter-out -O%,$(TARGET_CFLAGS))
 MUSL_CONFIGURE:= \
 	$(TARGET_CONFIGURE_OPTS) \
 	CFLAGS="$(TARGET_CFLAGS)" \
+	LDFLAGS="$(TARGET_LDFLAGS)" \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	$(HOST_BUILD_DIR)/configure \
 		--prefix=/ \
-- 
2.19.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list