Skip to content

Commit

Permalink
alive2: -Wno-error=deprecated-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Dec 20, 2024
1 parent c9f169f commit 3345c04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions llvm-translator/alive2-aslp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}") ];

Expand Down
2 changes: 1 addition & 1 deletion llvm-translator/alive2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3345c04

Please sign in to comment.