mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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:
parent
ead4c02aff
commit
1fef1d87bb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user