diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-01 01:32:49 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-01 01:32:49 +0100 |
commit | efed2bb015d3f4db14601a80de43c5c6813b8ebe (patch) | |
tree | 28985d77048c4e2ab2a54ee178bb197c5eaa5d85 /pkgs/applications/networking/remote | |
parent | 4c838ddf1475e374bb34f17c0456fdffec5c2854 (diff) |
freerdp: fix build with clang 16
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/freerdp/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/freerdp/default.nix b/pkgs/applications/networking/remote/freerdp/default.nix index 931b788156d38..b159bd0a996ac 100644 --- a/pkgs/applications/networking/remote/freerdp/default.nix +++ b/pkgs/applications/networking/remote/freerdp/default.nix @@ -190,6 +190,8 @@ stdenv.mkDerivation rec { "-DTARGET_OS_IPHONE=0" "-DTARGET_OS_WATCH=0" "-include AudioToolbox/AudioToolbox.h" + ] ++ lib.optionals stdenv.cc.isClang [ + "-Wno-error=incompatible-function-pointer-types" ]); NIX_LDFLAGS = lib.optionals stdenv.isDarwin [ |