Skip to content

Commit

Permalink
Add djgpp compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
phcoder committed Jun 3, 2022
1 parent dc14849 commit b03cc60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-arm64.yml'

# DJGPP
- project: 'libretro-infrastructure/ci-templates'
file: '/djgpp-static.yml'

################################## CELLULAR ################################
# Android
- project: 'libretro-infrastructure/ci-templates'
Expand Down Expand Up @@ -140,6 +144,12 @@ libretro-build-linux-i686:
- .libretro-linux-i686-make-default
- .core-defs

# DJGPP
libretro-build-djgpp-i586:
extends:
- .libretro-djgpp-static-retroarch-master
- .core-defs

# MacOS 64-bit
libretro-build-osx-x64:
extends:
Expand Down
5 changes: 3 additions & 2 deletions platform/LibRetro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ else ifeq ($(platform), vita)
# DOS
else ifeq ($(platform), dos)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = i686-pc-msdosdjgpp-gcc
AR = i686-pc-msdosdjgpp-ar
CC = i586-pc-msdosdjgpp-gcc
CXX = i586-pc-msdosdjgpp-g++
AR = i586-pc-msdosdjgpp-ar
CFLAGS += -march=i386
CXXFLAGS += -march=i386
STATIC_LINKING=1
Expand Down

0 comments on commit b03cc60

Please sign in to comment.