Messages in this thread Patch in this message | | | From | prasanth.r@timesys ... | Subject | [PATCH] kbuild: use shorthand operator for compiler | Date | Mon, 15 Feb 2021 15:55:36 +0530 |
| |
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
| |