Merge pull request #284606 from trofi/wordnet-on-clang-16

wordnet: fix build on `clang-16`
This commit is contained in:
Nick Cao
2024-01-29 08:15:39 -05:00
committed by GitHub
@@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
sed "13i#define USE_INTERP_RESULT 1" -i src/stubs.c
'';
# Fails the build on clang-16 and on upcoming gcc-14.
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int";
# Needs the path to `tclConfig.sh' and `tkConfig.sh'.
configureFlags = [
"--with-tcl=${tcl}/lib"