Lagom: Build LibELF on arm64

This seems to build fine now on Arm Macs.
This commit is contained in:
Nico Weber 2023-02-24 23:35:31 -05:00 committed by Linus Groh
parent f8bdb584f8
commit b07e9d4c8a
Notes: sideshowbarker 2024-07-17 06:45:52 +09:00

View File

@ -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