mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
libretro, improve toolchain path handling for GCW0
This commit is contained in:
parent
16b11d9171
commit
5d900cc4fd
1 changed files with 6 additions and 2 deletions
|
@ -415,8 +415,12 @@ else ifeq ($(platform), emscripten)
|
||||||
# GCW0
|
# GCW0
|
||||||
else ifeq ($(platform), gcw0)
|
else ifeq ($(platform), gcw0)
|
||||||
TARGET := $(TARGET_NAME)_libretro.so
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
CC = mipsel-linux-gcc
|
ifeq (,$(shell command -v $(GCW0_PREFIX)mipsel-gcw0-linux-uclibc-gcc 2>/dev/null))
|
||||||
AR = mipsel-linux-ar
|
# locate the toolchain for buildbot if it isn't in path or prefix not set
|
||||||
|
GCW0_PREFIX = /opt/gcw0-toolchain/usr/bin/
|
||||||
|
endif
|
||||||
|
CC = $(GCW0_PREFIX)mipsel-linux-gcc
|
||||||
|
AR = $(GCW0_PREFIX)mipsel-linux-ar
|
||||||
SHARED := -shared -nostdlib
|
SHARED := -shared -nostdlib
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
LIBM :=
|
LIBM :=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue