kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19
[openwrt/staging/mkresin.git] / config / Config-build.in
index a082a5e0e2ed9ad3e9749440c3f244aee8668072..8cbc16b5c8819bbc3fc50ff9a768bdfed3995eb2 100644 (file)
@@ -234,6 +234,14 @@ menu "Global build settings"
                        bool "Strong"
        endchoice
 
                        bool "Strong"
        endchoice
 
+       config  KERNEL_STACKPROTECTOR
+               bool
+               default KERNEL_CC_STACKPROTECTOR_REGULAR || KERNEL_CC_STACKPROTECTOR_STRONG
+
+       config  KERNEL_STACKPROTECTOR_STRONG
+               bool
+               default KERNEL_CC_STACKPROTECTOR_STRONG
+
        choice
                prompt "Enable buffer-overflows detection (FORTIFY_SOURCE)"
                default PKG_FORTIFY_SOURCE_1
        choice
                prompt "Enable buffer-overflows detection (FORTIFY_SOURCE)"
                default PKG_FORTIFY_SOURCE_1