mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +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"
|
"--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;
|
doCheck = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user