From 3345c04351c26bb90a4b4414393d367b10fab3f4 Mon Sep 17 00:00:00 2001 From: rina Date: Fri, 20 Dec 2024 10:21:54 +1000 Subject: [PATCH] alive2: -Wno-error=deprecated-declarations --- llvm-translator/alive2-aslp.nix | 2 ++ llvm-translator/alive2.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm-translator/alive2-aslp.nix b/llvm-translator/alive2-aslp.nix index f4ca69a..499ae59 100644 --- a/llvm-translator/alive2-aslp.nix +++ b/llvm-translator/alive2-aslp.nix @@ -25,6 +25,8 @@ hash = "sha256-fvcvC/SJOtLq0tR0h/GT983ScHZnXbjui9PwutJtnsA="; }; + CXXFLAGS = (prev.CXXFLAGS or "") + " -Wno-error=deprecated-declarations"; + cmakeFlags = prev.cmakeFlags ++ [ (lib.cmakeFeature "ANTLR4_JAR_LOCATION" "${antlr.jarLocation}") ]; diff --git a/llvm-translator/alive2.nix b/llvm-translator/alive2.nix index 902b52f..b6e4586 100644 --- a/llvm-translator/alive2.nix +++ b/llvm-translator/alive2.nix @@ -40,7 +40,7 @@ buildStdenv.mkDerivation { buildInputs = [ z3 zlib ncurses llvmPackages.libllvm ]; cmakeFlags = [ "-DBUILD_TV=1" "-DGIT_EXECUTABLE=${git-am-shim}" ]; - CXXFLAGS = "-Wno-error=cpp -Wno-error=deprecated"; + CXXFLAGS = "-Wno-error=cpp"; postPatch = '' substituteInPlace scripts/alivecc.in \