mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
xfitter: fix for recent clang (#288816)
This commit is contained in:
parent
fc1b4c9c0d
commit
3b27f2ac6e
@ -47,6 +47,8 @@ stdenv.mkDerivation rec {
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "-I${libtirpc.dev}/include/tirpc";
|
||||
NIX_LDFLAGS = lib.optional (stdenv.hostPlatform.libc == "glibc") "-ltirpc";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
# workaround wrong library IDs
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
ln -sv "$out/lib/xfitter/"* "$out/lib/"
|
||||
|
Loading…
Reference in New Issue
Block a user