From: prasanth.r@timesys.com
To: michal.lkml@markovi.net, masahiroy@kernel.org
Cc: linux-kernel@vger.kernel.org, Prasanth R <prasanth.r@timesys.com>
Subject: [PATCH] kbuild: use shorthand operator for compiler
Date: Mon, 15 Feb 2021 15:55:36 +0530 [thread overview]
Message-ID: <1613384736-31129-1-git-send-email-prasanth.r@timesys.com> (raw)
From: Prasanth R <prasanth.r@timesys.com>
Despite making the gcc as default let the user fix the
HOST values or we need to point the /usr/bin/gcc
Signed-off-by: Prasanth R <prasanth.r@timesys.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index de1acae..46301a6 100644
--- a/Makefile
+++ b/Makefile
@@ -410,8 +410,8 @@ ifneq ($(LLVM),)
HOSTCC = clang
HOSTCXX = clang++
else
-HOSTCC = gcc
-HOSTCXX = g++
+HOSTCC ?= gcc
+HOSTCXX ?= g++
endif
export KBUILD_USERCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes \
--
2.7.4
reply other threads:[~2021-02-15 10:28 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=1613384736-31129-1-git-send-email-prasanth.r@timesys.com \
--to=prasanth.r@timesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
/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
all inboxes | Powered by JetHome®