pvsneslib: fix build (#502877)

This commit is contained in:
Michael Daniels
2026-04-05 00:00:18 +00:00
committed by GitHub
+3
View File
@@ -26,6 +26,9 @@ stdenv.mkDerivation (finalAttrs: {
dontConfigure = true;
postPatch = ''
substituteInPlace compiler/wla-dx/CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
substituteInPlace tools/816-opt/Makefile \
--replace-fail 'LDFLAGS := -lpthread' 'LDFLAGS :=' \
--replace-fail 'LDFLAGS := -pthread' 'LDFLAGS += -pthread' \