mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
xnee: fix build with clang 16
This commit is contained in:
parent
5d11cc77b2
commit
1ce7329f6b
@ -74,6 +74,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"LDFLAGS=-lXi"
|
"LDFLAGS=-lXi"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# error: call to undeclared function 'xnee_check_key';
|
||||||
|
# ISO C99 and later do not support implicit function declarations
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||||
|
};
|
||||||
|
|
||||||
# XXX: Actually tests require an X server.
|
# XXX: Actually tests require an X server.
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user