CMakeLists.txt: Add a note about UPX
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
a21eecb0b3
commit
da3af239c9
|
@ -155,7 +155,7 @@ endif()
|
|||
option(NO_SELF_PACKER "Disables usage of a self-packer")
|
||||
if (NOT (UPPERCASE_BUILD_TYPE STREQUAL "DEBUG" OR UPPERCASE_BUILD_TYPE STREQUAL "RELWITHDEBINFO" OR NO_SELF_PACKER OR DEFINED EMSCRIPTEN OR MINGW))
|
||||
include(FindSelfPackers)
|
||||
if (SELF_PACKER_FOR_EXECUTABLE MATCHES upx)
|
||||
if (SELF_PACKER_FOR_EXECUTABLE MATCHES upx) # UPX version d61edc9 or higher is required when using a cross-compiler to target the musl C library
|
||||
set(SELF_PACKER_FOR_EXECUTABLE_FLAGS ${SELF_PACKER_FOR_EXECUTABLE_FLAGS} --ultra-brute --best)
|
||||
endif()
|
||||
if (NOT SELF_PACKER_FOR_EXECUTABLE STREQUAL "SELF_PACKER_FOR_EXECUTABLE-NOTFOUND")
|
||||
|
|
Loading…
Reference in New Issue