enable strong SSP / Stackprotector on gcc5
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 18 Aug 2015 09:20:34 +0000 (09:20 +0000)
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46685 3c298f89-4303-0410-b956-a3cf2f4a3e73

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