openblas: use --replace-fail substitution

This commit is contained in:
Doron Behar
2026-01-19 18:53:13 +02:00
parent 4306b245f9
commit e015f2cc80
@@ -196,7 +196,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# cc1: error: invalid feature modifier 'sve2' in '-march=armv8.5-a+sve+sve2+bf16'
substituteInPlace Makefile.arm64 --replace "+sve2+bf16" ""
substituteInPlace Makefile.arm64 --replace-fail "+sve2+bf16" ""
'';
inherit blas64;