VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Nathan Chancellor <nathan@kernel.org> 2021-02-16 14:33:12 -0700 committer: Masahiro Yamada <masahiroy@kernel.org> 2021-02-24 15:12:06 +0900 commit: c75173a26948363bdd11a0d5b90bd012ce4cc2e7 parent: db07562aeac77923370bff4733d8b0e09cbc93c4
Commit Summary:
Makefile: Remove # characters from compiler string
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/Makefile b/Makefile
index 6c3a2064072d..4dafeae67f54 100644
--- a/Makefile
+++ b/Makefile
@@ -561,7 +561,7 @@ endif
 # Some architectures define CROSS_COMPILE in arch/$(SRCARCH)/Makefile.
 # CC_VERSION_TEXT is referenced from Kconfig (so it needs export),
 # and from include/config/auto.conf.cmd to detect the compiler upgrade.
-CC_VERSION_TEXT = $(shell $(CC) --version 2>/dev/null | head -n 1)
+CC_VERSION_TEXT = $(shell $(CC) --version 2>/dev/null | head -n 1 | sed 's/\#//g')
 
 ifneq ($(findstring clang,$(CC_VERSION_TEXT)),)
 ifneq ($(CROSS_COMPILE),)