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 f2d292e..e2defaa 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