Skip to content

Commit

Permalink
Compile cyclone with the host g++ (notaz#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
kivutar committed Nov 16, 2019
1 parent 28dcfd6 commit 2be183e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
$(LD) ?= $(CC)
TARGET ?= PicoDrive
CFLAGS += -I.
HOST_CC ?= gcc
HOST_CXX ?= g++

ifneq ("$(PLATFORM)", "libretro")
CFLAGS += -Wall -g
Expand Down
2 changes: 1 addition & 1 deletion platform/common/common.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2be183e

Please sign in to comment.