Allow CC and LD to be overrriden

This commit is contained in:
Diego Nehab 2020-04-14 16:55:02 -03:00
parent 733af884f1
commit b06176823d

View File

@ -283,11 +283,11 @@ SOCKET=$(SOCKET_$(PLAT))
#------ #------
# Settings selected for platform # Settings selected for platform
# #
CC=$(CC_$(PLAT)) CC?=$(CC_$(PLAT))
DEF=$(DEF_$(PLAT)) DEF=$(DEF_$(PLAT))
CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT)) CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT)) LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
LD=$(LD_$(PLAT)) LD?=$(LD_$(PLAT))
LUAINC= $(LUAINC_$(PLAT)) LUAINC= $(LUAINC_$(PLAT))
LUALIB= $(LUALIB_$(PLAT)) LUALIB= $(LUALIB_$(PLAT))