From 7ed319be0d78bd6dd53dca558295fccfd73399a8 Mon Sep 17 00:00:00 2001 From: Bjoern Doebel Date: Fri, 20 Nov 2020 19:09:12 +0100 Subject: [PATCH] Allow overriding CC environment variable Signed-off-by: Bjoern Doebel --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index a712cc73..7ad581f3 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,9 @@ SYSTEM := MACOS endif endif +ifeq ($(CC),cc) # overwrite on default, otherwise use whatever is in the CC env variable CC := gcc +endif LD := ld NM := nm