python3Packages.numpy: fix loongarch64-linux build

This commit is contained in:
Weijia Wang
2026-04-08 08:48:28 +02:00
parent b9451807bb
commit 9e33406d48
+1 -1
View File
@@ -63,7 +63,7 @@ buildPythonPackage (finalAttrs: {
--replace-fail '/bin/true' '${lib.getExe' coreutils "true"}'
'';
mesonFlags = [
mesonFlags = lib.optionals (!stdenv.hostPlatform.isLoongArch64) [
# This is required to support CPUs with feature-sets earlier than x86-64-v2
# (before 2009). This will still build optimizations for newer features, but
# allow for importing with older machines. See: