From 7670fce49ede1ff1361f177c26cd2d41621ee081 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 8 Nov 2012 21:56:05 +0100 Subject: [PATCH] Makefile: 2nd go at making CC assignment/check actually work This time tested! Signed-off-by: Jens Axboe --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bffa7583..0db757b0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -ifeq ($(CC),) +ifneq ($(origin CC), environment) CC = gcc endif DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG -- 2.25.1