1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

gperftools: fix darwin build

This commit is contained in:
Daiderd Jordan 2017-09-18 22:20:57 +02:00
parent 6b7e103870
commit 69bf06ad6c
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
substituteInPlace libtool --replace stdc++ c++
'';
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.isDarwin "-D_XOPEN_SOURCE";
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools
dontDisableStatic = true;