Unverified Commit d8a18a0e authored by Kurtis Dinelle's avatar Kurtis Dinelle Committed by GitHub
Browse files

Merge pull request #12 from phcoder/djgpp

Add djgpp compilation directives
parents ceef4de5 aecdd829
Pipeline #92091 passed with stages
in 8 minutes and 11 seconds
......@@ -35,6 +35,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-i686-msvc05-msys2.yml'
# DJGPP
- project: 'libretro-infrastructure/ci-templates'
file: '/djgpp-static.yml'
# Linux 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
......@@ -159,6 +163,12 @@ libretro-build-windows-msvc05-i686:
- .libretro-windows-i686-msvc05-msys2-make-default
- .core-defs
# DJGPP
libretro-build-djgpp-i586:
extends:
- .libretro-djgpp-static-retroarch-master
- .core-defs
# Linux 64-bit
libretro-build-linux-x64:
extends:
......
......@@ -509,6 +509,15 @@ else ifeq ($(platform), miyoo)
PLATFORM_DEFINES += -D_GNU_SOURCE
CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
# DOS
else ifeq ($(platform), dos)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = i586-pc-msdosdjgpp-gcc
AR = i586-pc-msdosdjgpp-ar
CXX = i586-pc-msdosdjgpp-g++
PLATFORM_DEFINES += -march=i386
STATIC_LINKING=1
# Current Windows builds via mingw/gcc
else
TARGET := $(TARGET_NAME)_libretro.dll
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment