pkgs/tracy: fix on Darwin
This commit is contained in:
parent
85763b63cc
commit
5e47a07e9f
|
@ -20,6 +20,9 @@ in stdenv.mkDerivation rec {
|
|||
++ lib.optionals stdenv.isLinux [ gtk3 tbb ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ ]
|
||||
# Apple's compiler finds a format string security error on
|
||||
# ../../../server/TracyView.cpp:649:34, preventing building.
|
||||
++ lib.optional stdenv.isDarwin "-Wno-format-security"
|
||||
++ lib.optional stdenv.isLinux "-ltbb"
|
||||
++ lib.optional stdenv.cc.isClang "-faligned-allocation"
|
||||
++ lib.optional disableLTO "-fno-lto";
|
||||
|
|
Loading…
Reference in a new issue