Avoid conflict with an existing HOST_CC on some recipes

This commit is contained in:
Jean-André Santoni 2019-11-17 20:28:23 +07:00
parent 2be183efa9
commit 88a6232f6a
No known key found for this signature in database
GPG Key ID: 9D694E373914CC36
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
$(LD) ?= $(CC)
TARGET ?= PicoDrive
CFLAGS += -I.
HOST_CC ?= gcc
HOST_CXX ?= g++
CYCLONE_CC ?= gcc
CYCLONE_CXX ?= g++
ifneq ("$(PLATFORM)", "libretro")
CFLAGS += -Wall -g

View File

@ -181,7 +181,7 @@ $(FR)cpu/cyclone/Cyclone.h:
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/$(CYCLONE_CONFIG)
@echo building Cyclone...
@make CC=$(HOST_CC) CXX=$(HOST_CXX) -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG)
@make CC=$(CYCLONE_CC) CXX=$(CYCLONE_CXX) -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG)
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h