pkgs/tracy: fix on Darwin

mullvad-ns
Jade 3 years ago committed by Raphael Megzari
parent 85763b63cc
commit 5e47a07e9f
  1. 3
      pkgs/development/tools/tracy/default.nix

@ -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…
Cancel
Save