Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
81-libretro
Commits
2e34567a
Unverified
Commit
2e34567a
authored
Apr 12, 2022
by
Salvador
Committed by
GitHub
Apr 12, 2022
Browse files
Add OpenDingux build target (#36)
parent
6aba1924
Pipeline
#118470
passed with stages
in 9 minutes and 7 seconds
Changes
2
Pipelines
80
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2e34567a
...
...
@@ -247,3 +247,15 @@ libretro-build-miyoo-arm32:
extends
:
-
.libretro-miyoo-arm32-make-default
-
.core-defs
# OpenDingux
libretro-build-dingux-mips32
:
extends
:
-
.libretro-dingux-mips32-make-default
-
.core-defs
# OpenDingux Beta
libretro-build-dingux-odbeta-mips32
:
extends
:
-
.libretro-dingux-odbeta-mips32-make-default
-
.core-defs
\ No newline at end of file
Makefile.libretro
View file @
2e34567a
...
...
@@ -364,6 +364,27 @@ else ifeq ($(platform), retrofw)
DEFINES
+=
-std
=
c99
HAVE_COMPAT
=
1
# GCW0 (OpenDingux and OpenDingux Beta)
else
ifeq
($(platform), gcw0)
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,--version-script
=
build/link.T
-Wl
,--no-undefined
CC
=
/opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CC_AS
=
/opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
CXX
=
/opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
AR
=
/opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
LDFLAGS
+=
-mplt
-flto
-fuse-linker-plugin
-march
=
mips32
-mtune
=
mips32r2
-mhard-float
-flto
-fPIC
PLATFORM_DEFINES
+=
-D_GNU_SOURCE
CFLAGS
+=
-fomit-frame-pointer
-ffast-math
-march
=
mips32
-mtune
=
mips32r2
-mhard-float
CFLAGS
+=
-falign-functions
=
1
-falign-jumps
=
1
-falign-loops
=
1
CFLAGS
+=
-fomit-frame-pointer
-fmerge-all-constants
-flto
CFLAGS
+=
-funsafe-math-optimizations
-fsingle-precision-constant
-fexpensive-optimizations
CFLAGS
+=
-fno-unwind-tables
-fno-asynchronous-unwind-tables
-fno-unroll-loops
CFLAGS
+=
-fmerge-all-constants
-fno-math-errno
-fno-stack-protector
-fno-ident
CXXFLAGS
+=
-flto
-fPIC
DEFINES
+=
-std
=
c99
HAVE_COMPAT
=
1
# ARM
else
ifneq
(,$(findstring armv,$(platform)))
TARGET
:=
$(TARGET_NAME)
_libretro.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment