mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-24 07:43:44 +02:00
Merge branch 'libretro-compat' into libretro
This commit is contained in:
commit
ccceeeb75b
1 changed files with 2 additions and 4 deletions
|
@ -38,8 +38,8 @@ if is_libretro
|
||||||
libretro_stage1_path = get_option('libretro_stage1_path')
|
libretro_stage1_path = get_option('libretro_stage1_path')
|
||||||
|
|
||||||
libretro_link_args = []
|
libretro_link_args = []
|
||||||
libretro_cflags = ['-Wno-unused-command-line-argument']
|
libretro_cflags = []
|
||||||
libretro_cppflags = ['-Wno-unused-command-line-argument']
|
libretro_cppflags = []
|
||||||
libretro_ruby_cflags = []
|
libretro_ruby_cflags = []
|
||||||
|
|
||||||
if core_is_static and not is_emscripten and get_option('b_lto')
|
if core_is_static and not is_emscripten and get_option('b_lto')
|
||||||
|
@ -520,14 +520,12 @@ if is_libretro
|
||||||
link_with: static_library(
|
link_with: static_library(
|
||||||
'ruby',
|
'ruby',
|
||||||
c_args: libretro_cflags + libretro_ruby_cflags + libretro_defines + [
|
c_args: libretro_cflags + libretro_ruby_cflags + libretro_defines + [
|
||||||
'-fno-optimize-sibling-calls',
|
|
||||||
'-frounding-math',
|
'-frounding-math',
|
||||||
'-fsignaling-nans',
|
'-fsignaling-nans',
|
||||||
'-Wno-unused-function',
|
'-Wno-unused-function',
|
||||||
'-Wno-unused-value',
|
'-Wno-unused-value',
|
||||||
'-Wno-unused-variable',
|
'-Wno-unused-variable',
|
||||||
'-Wno-unused-but-set-variable',
|
'-Wno-unused-but-set-variable',
|
||||||
'-Wno-ignored-optimization-argument',
|
|
||||||
],
|
],
|
||||||
include_directories: [
|
include_directories: [
|
||||||
include_directories('binding-sandbox'),
|
include_directories('binding-sandbox'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue