From 96a29e19c3b813f3f308077264e13bb57bd4d31c Mon Sep 17 00:00:00 2001 From: Sultan Alsawaf Date: Sun, 8 Mar 2020 00:31:35 -0800 Subject: [PATCH] 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 Signed-off-by: Richard Raya --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index bfecbf2a16bf..3ef6da1406db 100644 --- a/Makefile +++ b/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)