diff mbox

[OpenWrt-Devel] enable strong SSP / Stackprotector on gcc5

Message ID 1439788031-28970-1-git-send-email-dirkneukirchen@web.de
State Accepted
Headers show

Commit Message

Dirk Neukirchen Aug. 17, 2015, 5:07 a.m. UTC
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
---
 config/Config-build.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/config/Config-build.in b/config/Config-build.in
index f2d292e..e2defaa 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -232,7 +232,7 @@  menu "Global build settings"
 		config PKG_CC_STACKPROTECTOR_STRONG
 			bool "Strong"
 			select SSP_SUPPORT if !USE_MUSL
-			depends on GCC_VERSION_4_9_LINARO
+			depends on GCC_VERSION_4_9_LINARO || GCC_VERSION_5
 			depends on KERNEL_CC_STACKPROTECTOR_STRONG
 	endchoice
 
@@ -247,7 +247,7 @@  menu "Global build settings"
 		config KERNEL_CC_STACKPROTECTOR_REGULAR
 			bool "Regular"
 		config KERNEL_CC_STACKPROTECTOR_STRONG
-			depends on GCC_VERSION_4_9_LINARO
+			depends on GCC_VERSION_4_9_LINARO || GCC_VERSION_5
 			bool "Strong"
 	endchoice