From: Dan Carpenter <error27@gmail.com>
To: linux-sparse@vger.kernel.org, chriscli@google.com
Subject: [PATCH] Makefile: Make the compiler selectable
Date: Mon, 4 May 2026 14:59:12 +0300 [thread overview]
Message-ID: <afiKEO8oHotKfVRk@stanley.mountain> (raw)
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
reply other threads:[~2026-05-04 11:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=afiKEO8oHotKfVRk@stanley.mountain \
--to=error27@gmail.com \
--cc=chriscli@google.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox