* [PATCH] Makefile: Make the compiler selectable
@ 2026-05-04 11:59 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2026-05-04 11:59 UTC (permalink / raw)
To: linux-sparse, chriscli
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 <error27@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-04 11:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04 11:59 [PATCH] Makefile: Make the compiler selectable Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.