mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-26 16:53:45 +02:00
Disable fortification and stack protection in FLAC and Opus in libretro builds
The Emscripten build doesn't support stack protection. Besides, if we really wanted to enable fortification and stack protection, we would enable it for the entire application instead of enabling it for only these two libraries.
This commit is contained in:
parent
fdee58f33d
commit
d5dff61ed3
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,8 @@ if get_option('retro') == true
|
||||||
'ENABLE_MULTITHREADING': false,
|
'ENABLE_MULTITHREADING': false,
|
||||||
'INSTALL_MANPAGES': false,
|
'INSTALL_MANPAGES': false,
|
||||||
'WITH_OGG': false,
|
'WITH_OGG': false,
|
||||||
|
'WITH_FORTIFY_SOURCE': false,
|
||||||
|
'WITH_STACK_PROTECTOR': false,
|
||||||
})
|
})
|
||||||
|
|
||||||
opus_options = cmake.subproject_options()
|
opus_options = cmake.subproject_options()
|
||||||
|
@ -156,6 +158,8 @@ if get_option('retro') == true
|
||||||
'OPUS_FLOAT_APPROX': false,
|
'OPUS_FLOAT_APPROX': false,
|
||||||
'OPUS_BUILD_FRAMEWORK': false,
|
'OPUS_BUILD_FRAMEWORK': false,
|
||||||
'OPUS_STATIC_RUNTIME': false,
|
'OPUS_STATIC_RUNTIME': false,
|
||||||
|
'OPUS_FORTIFY_SOURCE': false,
|
||||||
|
'OPUS_STACK_PROTECTOR': false,
|
||||||
})
|
})
|
||||||
|
|
||||||
mpg123_options = cmake.subproject_options()
|
mpg123_options = cmake.subproject_options()
|
||||||
|
|
Loading…
Add table
Reference in a new issue