From e730701857d206f19971fe3c9b059c5f502fff00 Mon Sep 17 00:00:00 2001 From: Adithya R Date: Tue, 16 Feb 2021 12:26:52 +0530 Subject: [PATCH] Makefile: Disable redundant merge-constants optimization clang-13: warning: optimization flag '-fmerge-constants' is not supported [-Wignored-optimization-argument] --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 79968b2ceb26..77f8a9a92145 100644 --- a/Makefile +++ b/Makefile @@ -927,7 +927,7 @@ KBUILD_CFLAGS += $(call cc-option,-fno-merge-all-constants) # for gcc -fno-merge-all-constants disables everything, but it is fine # to have actual conforming behavior enabled. -KBUILD_CFLAGS += $(call cc-option,-fmerge-constants) +#KBUILD_CFLAGS += $(call cc-option,-fmerge-constants) # Make sure -fstack-check isn't enabled (like gentoo apparently did) KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,)