From b07e9d4c8a754aa4073590a1d50b7d0fa44654df Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 24 Feb 2023 23:35:31 -0500 Subject: Lagom: Build LibELF on arm64 This seems to build fine now on Arm Macs. --- Meta/Lagom/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Meta') diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 09410c96c9..b4aba13ebb 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -427,9 +427,7 @@ if (BUILD_LAGOM) unset(GENERATED_SOURCES) endif() - # FIXME: Excluding arm64 is a temporary hack to circumvent a build problem - # for Lagom on Apple M1 - if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm64" AND NOT EMSCRIPTEN) + if (NOT EMSCRIPTEN) # FIXME: Create a LIBELF_SOURCES macro similar to AK file(GLOB LIBELF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibELF/*.cpp") # There's no way we can reliably make the dynamic loading classes cross platform -- cgit v1.2.3