mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Makefile: Disable stack conservation for clang
There's plenty of room on the stack for a few more inlined bytes here and there. The measured stack usage at runtime is still safe without this, and performance is surely improved at a microscopic level, so remove it. Change-Id: I9521e924ba492fe01f15afe2c0dd7c4142490a17 Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
f996b29a4a
commit
96a29e19c3
3
Makefile
3
Makefile
@ -1037,9 +1037,6 @@ KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)
|
||||
# Make sure -fstack-check isn't enabled (like gentoo apparently did)
|
||||
KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,)
|
||||
|
||||
# conserve stack if available
|
||||
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)
|
||||
|
||||
# disallow errors like 'EXPORT_GPL(foo);' with missing header
|
||||
KBUILD_CFLAGS += $(call cc-option,-Werror=implicit-int)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user