Nintendo Switch support (again)

This commit is contained in:
fgsfds
2023-02-05 02:09:32 +01:00
parent f910f4896c
commit 25a1cb8ce7
24 changed files with 441 additions and 32 deletions
@@ -169,4 +169,8 @@ def get_optimization_flags(conf):
if conf.options.POLLY:
cflags += conf.get_flags_by_compiler(POLLY_CFLAGS, conf.env.COMPILER_CC)
if conf.env.DEST_OS == 'nswitch' and conf.options.BUILD_TYPE == 'debug':
# enable remote debugger
cflags.append('-DNSWITCH_DEBUG')
return cflags, linkflags