freerdp: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-01 01:32:49 +01:00
parent 4c838ddf14
commit efed2bb015

View file

@ -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 [