mecab: fix build with clang 16

Force the language mode to C++14. mecab-nodic uses several features that
have been removed from C++17.
This commit is contained in:
Randy Eckenrode 2023-11-03 18:34:41 -04:00
parent ead4c02aff
commit 1fef1d87bb
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -15,5 +15,9 @@ finalAttrs: {
"--with-charset=utf8"
];
# mecab uses several features that have been removed in C++17.
# Force the language mode to C++14, so that it can compile with clang 16.
makeFlags = [ "CXXFLAGS=-std=c++14" ];
doCheck = true;
}