From fd3dde99fdaaed349c4da8879e56fc684edb2ffd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 3 Jan 2016 10:54:31 -0800 Subject: Makefile: Set CC/AR variable only if it doesn't have a value This helps it compile with clang or any other compilers besides gcc Signed-off-by: Khem Raj Signed-off-by: John Kacur --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2e6ad8a..932222f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 0.96 -CC=$(CROSS_COMPILE)gcc -AR=$(CROSS_COMPILE)ar +CC?=$(CROSS_COMPILE)gcc +AR?=$(CROSS_COMPILE)ar OBJDIR = bld -- cgit 1.2.3-korg