Merge pull request #313373 from teidesu/zhf/antlr2

antlr2: fixed darwin build
This commit is contained in:
Weijia Wang 2024-05-22 14:31:15 +02:00 committed by GitHub
commit 86c6b7e909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
patches = [ ./2.7.7-fixes.patch ];
buildInputs = [ jdk ];
CXXFLAGS = lib.optionalString stdenv.isDarwin "-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION";
meta = with lib; {
description = "Powerful parser generator";
longDescription = ''