Skip to content

Commit

Permalink
Merge pull request #4086 from Sonicadvance1/stop_breaking_x86
Browse files Browse the repository at this point in the history
Stop installing binfmt_misc on x86
  • Loading branch information
lioncash authored Sep 27, 2024
2 parents f49d82d + d5d1230 commit b6d3df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion Source/Tools/FEXLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6d3df0

Please sign in to comment.