|
|
|
@ -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"; |
|
|
|
|