mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
guile-reader: fix the build with GCC14 (#394687)
This commit is contained in:
@@ -28,13 +28,10 @@ stdenv.mkDerivation rec {
|
||||
libffi
|
||||
];
|
||||
|
||||
env =
|
||||
{
|
||||
GUILE_SITE = "${guile-lib}/${guile.siteDir}";
|
||||
}
|
||||
// lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
env = {
|
||||
GUILE_SITE = "${guile-lib}/${guile.siteDir}";
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
configureFlags = [ "--with-guilemoduledir=$(out)/${guile.siteDir}" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user