folly: remove obsolete AArch64 hack

(cherry picked from commit 3352d4f1ab)
(cherry picked from commit da0502a94a)
This commit is contained in:
Emily 2024-11-13 13:43:34 +00:00 committed by Vladimír Čunát
parent c47376bbd1
commit eab5ca3e51
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -88,10 +88,6 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
# temporary hack until folly builds work on aarch64,
# see https://github.com/facebook/folly/issues/1880
"-DCMAKE_LIBRARY_ARCHITECTURE=${if stdenv.hostPlatform.isx86_64 then "x86_64" else "dummy"}"
# Folly uses these instead of the standard CMake variables for some reason.
(lib.cmakeFeature "INCLUDE_INSTALL_DIR" "${placeholder "dev"}/include")
(lib.cmakeFeature "LIB_INSTALL_DIR" "${placeholder "out"}/lib")