enable strong SSP / Stackprotector on gcc5
authorSteven Barth <cyrus@openwrt.org>
Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46685

config/Config-build.in

index f2d292e453a8653fdc0c657f2e6bbb4b9f6cec6c..e2defaa9688c4f8aafbb109932c5573a5584115f 100644 (file)
@@ -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