From e3deb06965f01b41427df0b2e884538c813326c5 Mon Sep 17 00:00:00 2001 From: AFettes Date: Thu, 28 Feb 2019 11:39:43 -0800 Subject: [PATCH] Update iqa Makefile to fix cross compilation gcc is set as default compiler in iqa Makefile, causing the build to fail when using a different compiler. Change the Makefile to use the environment CC variable if it is set. Signed-off-by: Lukas Fleischer --- src/iqa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iqa/Makefile b/src/iqa/Makefile index 59be8a3..faed5f8 100644 --- a/src/iqa/Makefile +++ b/src/iqa/Makefile @@ -11,7 +11,7 @@ SRC= \ OBJ = $(SRC:.c=.o) INCLUDES = -I./include -CC = gcc +CC ?= gcc ifeq ($(RELEASE),1) OUTDIR=./build/release