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-04 18:10:06 -04:00
parent ead4c02aff
commit 1fef1d87bb
+4
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;
}