Merge pull request #4086 from Sonicadvance1/stop_breaking_x86

Stop installing binfmt_misc on x86
This commit is contained in:
LC 2024-09-27 03:34:41 -04:00 committed by GitHub
commit b6d3df0e54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ add_subdirectory(FEXHeaderUtils/)
add_subdirectory(CodeEmitter/)
add_subdirectory(FEXCore/)
if (NOT MINGW_BUILD)
if (_M_ARM_64 AND NOT MINGW_BUILD)
# Binfmt_misc files must be installed prior to Source/ installs
add_subdirectory(Data/binfmts/)
endif()

View File

@ -50,7 +50,7 @@ endfunction()
GenerateInterpreter(FEXLoader 0)
GenerateInterpreter(FEXInterpreter 1)
if (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
if (_M_ARM_64)
if (NOT USE_LEGACY_BINFMTMISC)
# Just restart the systemd service
add_custom_target(binfmt_misc