Merge pull request #284606 from trofi/wordnet-on-clang-16
wordnet: fix build on `clang-16`
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user