treewide: NIX_*_COMPILE -> string

This commit is contained in:
Robin Gloster
2019-12-31 00:13:29 +01:00
committed by Jan Tojnar
parent ab0cfd9e03
commit 5f2b92e3ec
61 changed files with 73 additions and 111 deletions
@@ -16,9 +16,8 @@ stdenv.mkDerivation rec {
substituteInPlace libtool --replace stdc++ c++
'';
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isDarwin [
"-D_XOPEN_SOURCE" "-Wno-aligned-allocation-unavailable"
];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin
"-D_XOPEN_SOURCE -Wno-aligned-allocation-unavailable";
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools