clickhouse: fix compilation on aarch64-linux

(cherry picked from commit 887a74fd57)
This commit is contained in:
Alexander Sieg 2024-11-06 11:33:04 +01:00 committed by github-actions[bot]
parent bb824c634c
commit 9634e12903

View File

@ -183,7 +183,8 @@ in mkDerivation rec {
"-DENABLE_TESTS=OFF"
"-DCOMPILER_CACHE=disabled"
"-DENABLE_EMBEDDED_COMPILER=ON"
];
] ++
lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) "-DNO_ARMV81_OR_HIGHER=1";
env = {
NIX_CFLAGS_COMPILE =