Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Makefile.gcw0: Allow overriding toolchain from the environment #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile.gcw0
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RECOMPILER = mips
# Allows the newer toolchain to be used
#GCC_NEW = 1

RM = rm -f
MD = mkdir
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
LD = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
RM ?= rm -f
MD ?= mkdir
CC ?= /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CXX ?= /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
LD ?= /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++

SYSROOT := $(shell $(CC) --print-sysroot)
SDL_CONFIG := $(SYSROOT)/usr/bin/sdl-config
Expand Down