diff options
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3fc0f413777c..24875c8c1514 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -199,6 +199,10 @@ ifeq ($(CONFIG_DWARF_UNWINDER),y) | |||
199 | KBUILD_CFLAGS += -fasynchronous-unwind-tables | 199 | KBUILD_CFLAGS += -fasynchronous-unwind-tables |
200 | endif | 200 | endif |
201 | 201 | ||
202 | ifeq ($(CONFIG_CC_STACKPROTECTOR),y) | ||
203 | KBUILD_CFLAGS += -fstack-protector | ||
204 | endif | ||
205 | |||
202 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) | 206 | libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) |
203 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) | 207 | libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) |
204 | 208 | ||