build: upx is currently broken on ppc64*

This commit is contained in:
Marcus Holland-Moritz 2025-08-16 00:56:19 +02:00
parent 137f352850
commit 8bc6a53f9b

View File

@ -1066,7 +1066,8 @@ if(STATIC_BUILD_DO_NOT_USE OR WIN32)
list(APPEND UNIVERSAL_TARGETS dwarfsfuseextract)
endif()
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^(i386|x86_64|AMD64|aarch64|ppc64|ppc64le|arm)$")
# ppc64le/ppc64 are theoretically supported by UPX, but they currently crash
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^(i386|x86_64|AMD64|aarch64|arm)$")
find_program(UPX_EXE upx upx.exe PATHS "c:/bin" DOC "ultimate packer for executables")
endif()