aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r--arch/x86_64/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile
index 51d83288d62b..2d3e9be229c0 100644
--- a/arch/x86_64/Makefile
+++ b/arch/x86_64/Makefile
@@ -38,8 +38,10 @@ CFLAGS += -pipe
38# actually it makes the kernel smaller too. 38# actually it makes the kernel smaller too.
39CFLAGS += -fno-reorder-blocks 39CFLAGS += -fno-reorder-blocks
40CFLAGS += -Wno-sign-compare 40CFLAGS += -Wno-sign-compare
41ifneq ($(CONFIG_DEBUG_INFO),y) 41ifneq ($(CONFIG_UNWIND_INFO),y)
42CFLAGS += -fno-asynchronous-unwind-tables 42CFLAGS += -fno-asynchronous-unwind-tables
43endif
44ifneq ($(CONFIG_DEBUG_INFO),y)
43# -fweb shrinks the kernel a bit, but the difference is very small 45# -fweb shrinks the kernel a bit, but the difference is very small
44# it also messes up debugging, so don't use it for now. 46# it also messes up debugging, so don't use it for now.
45#CFLAGS += $(call cc-option,-fweb) 47#CFLAGS += $(call cc-option,-fweb)