All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: use shorthand operator for compiler
@ 2021-02-15 10:25 prasanth.r
  0 siblings, 0 replies; only message in thread
From: prasanth.r @ 2021-02-15 10:25 UTC (permalink / raw)
  To: michal.lkml, masahiroy; +Cc: linux-kernel, Prasanth R

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-15 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 10:25 [PATCH] kbuild: use shorthand operator for compiler prasanth.r

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.