From b06176823d8a95d3df0854e71696acafb45a13cf Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Tue, 14 Apr 2020 16:55:02 -0300 Subject: [PATCH] Allow CC and LD to be overrriden --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index 5a9ba97..45efa7d 100755 --- a/src/makefile +++ b/src/makefile @@ -283,11 +283,11 @@ SOCKET=$(SOCKET_$(PLAT)) #------ # Settings selected for platform # -CC=$(CC_$(PLAT)) +CC?=$(CC_$(PLAT)) DEF=$(DEF_$(PLAT)) CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT)) -LD=$(LD_$(PLAT)) +LD?=$(LD_$(PLAT)) LUAINC= $(LUAINC_$(PLAT)) LUALIB= $(LUALIB_$(PLAT))