From 3eae4b42fb18ef9f13581430e993b4cae0344074 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 1 Oct 2013 23:08:30 +0200 Subject: [PATCH] makefile: allow CC to be replaced this allows building with clang by doing: CC=clang PREFIX=llvm- make --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c5138cb..ec33e5a 100644 --- a/makefile +++ b/makefile @@ -13,7 +13,7 @@ ifndef PREFIX PREFIX= endif -CC=$(PREFIX)gcc +CC?=$(PREFIX)gcc LD=$(PREFIX)ld AR=$(PREFIX)ar