From: Prasanth R <[email protected]>

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 <[email protected]>
---
 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 via email to