mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Linux: Save 10.7MiB of useless debug info (#475)
This commit is contained in:
parent
b1c70588fe
commit
2adabcb936
1 changed files with 5 additions and 2 deletions
|
@ -123,9 +123,12 @@ target_link_libraries(CemuBin PRIVATE
|
||||||
)
|
)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
# due to nasm output some linkers will make stack executable.
|
# due to nasm output some linkers will make stack executable
|
||||||
# cemu does not require this so we explicity disable it.
|
# cemu does not require this so we explicity disable it
|
||||||
target_link_options(CemuBin PRIVATE -z noexecstack)
|
target_link_options(CemuBin PRIVATE -z noexecstack)
|
||||||
|
# some residual debug info from boost/discord-rpc is normally included
|
||||||
|
# most likely not helpful in debugging problems with cemu code
|
||||||
|
target_link_options(CemuBin PRIVATE "$<$<CONFIG:Release>:-Xlinker;--strip-debug>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_WXWIDGETS)
|
if (ENABLE_WXWIDGETS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue