projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures
[linux-block.git]
/
arch
/
mips
/
Makefile
diff --git
a/arch/mips/Makefile
b/arch/mips/Makefile
index de300b9936076faad63463c884687d9e19ea914f..efe50787cd897c4391575cefcef73ecb40ff3385 100644
(file)
--- a/
arch/mips/Makefile
+++ b/
arch/mips/Makefile
@@
-232,10
+232,6
@@
bootvars-y = VMLINUX_LOAD_ADDRESS=$(load-y) \
LDFLAGS += -m $(ld-emul)
-ifdef CONFIG_CC_STACKPROTECTOR
- KBUILD_CFLAGS += -fstack-protector
-endif
-
ifdef CONFIG_MIPS
CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \