X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fhardening.mk;h=c1f0bcb19e404eb35f160052bf1d3375efdb0d2e;hp=8a24b3ca15e4277aff7794aa6fbc6e0d7680f5b1;hb=1877bc9d8f2be143fbe530347a945850d0ecd234;hpb=e0a3d9d1152a05c7c8ba6cd713e394c862ce9252 diff --git a/include/hardening.mk b/include/hardening.mk index 8a24b3ca15..c1f0bcb19e 100644 --- a/include/hardening.mk +++ b/include/hardening.mk @@ -21,13 +21,11 @@ endif ifdef CONFIG_PKG_CC_STACKPROTECTOR_REGULAR ifeq ($(strip $(PKG_CC_STACKPROTECTOR_REGULAR)),1) TARGET_CFLAGS += -fstack-protector - TARGET_LDFLAGS += -fstack-protector endif endif ifdef CONFIG_PKG_CC_STACKPROTECTOR_STRONG ifeq ($(strip $(PKG_CC_STACKPROTECTOR_STRONG)),1) TARGET_CFLAGS += -fstack-protector-strong - TARGET_LDFLAGS += -fstack-protector-strong endif endif ifdef CONFIG_PKG_FORTIFY_SOURCE_1