[PATCH] Makefile: Make the compiler selectable
Dan Carpenter <[email protected]> Mon, 4 May 2026 14:59:12 +0300
| Newsgroups | org.kernel.vger.linux-sparse |
|---|---|
| Message-ID | <[email protected]> |
Allow people to specify the compiler. For example, if you want to build with gcc-13 you can use: `CC=gcc-13 make`. Signed-off-by: Dan Carpenter <[email protected]> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e172758b8b09..651035ab0f77 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ VERSION=0.6.4 OS = linux -CC = gcc +CC ?= gcc CXX = g++ LD = $(CC) AR = ar -- 2.53.0