mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-02-07 23:45:37 +01:00
Compile cyclone with the host g++ (#110)
This commit is contained in:
parent
28dcfd6f43
commit
2be183efa9
2
Makefile
2
Makefile
@ -1,6 +1,8 @@
|
||||
$(LD) ?= $(CC)
|
||||
TARGET ?= PicoDrive
|
||||
CFLAGS += -I.
|
||||
HOST_CC ?= gcc
|
||||
HOST_CXX ?= g++
|
||||
|
||||
ifneq ("$(PLATFORM)", "libretro")
|
||||
CFLAGS += -Wall -g
|
||||
|
||||
@ -181,7 +181,7 @@ $(FR)cpu/cyclone/Cyclone.h:
|
||||
|
||||
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/$(CYCLONE_CONFIG)
|
||||
@echo building Cyclone...
|
||||
@make -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG)
|
||||
@make CC=$(HOST_CC) CXX=$(HOST_CXX) -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG)
|
||||
|
||||
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user