folly: remove obsolete AArch64 hack

(cherry picked from commit 3352d4f1ab)
(cherry picked from commit da0502a94ace2c402892ed389aae89c50b814b5e)
This commit is contained in:
Emily
2024-11-30 15:11:13 +01:00
committed by Vladimír Čunát
parent c47376bbd1
commit eab5ca3e51
-4
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")