xfitter: fix for recent clang (#288816)
This commit is contained in:
parent
fc1b4c9c0d
commit
3b27f2ac6e
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue