From 31dc09d7f3f684fc6b3629235633cff76aca7e85 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 14 Aug 2012 14:34:32 +0200 Subject: [PATCH] fio Makefile improvement - don't override $(CC) I tried to build fio 2.0.8 today and found that the Makefile unconditionally sets CC. Since I've only got clang on my FreeBSD box it needs to avoid overriding the default. Use the default system compiler - don't override $(CC) if already set. Signed-off-by: Jens Axboe --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a41710b..9d3945b3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CC = gcc +CC ?= gcc DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ $(DEBUGFLAGS) -- 2.25.1