mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
accountservice: condition gcc_14 specific -Wno-error
flags
This commit is contained in:
parent
8e5ca58e0a
commit
c2a5dcf5a0
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
|||||||
libxcrypt
|
libxcrypt
|
||||||
];
|
];
|
||||||
|
|
||||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
env = lib.optionalAttrs (stdenv.cc.isGNU && (lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "14")) {
|
||||||
NIX_CFLAGS_COMPILE = toString [
|
NIX_CFLAGS_COMPILE = toString [
|
||||||
"-Wno-error=deprecated-declarations"
|
"-Wno-error=deprecated-declarations"
|
||||||
"-Wno-error=implicit-function-declaration"
|
"-Wno-error=implicit-function-declaration"
|
||||||
|
Loading…
Reference in New Issue
Block a user