treewide: NIX_CFLAGS_COMPILE -> string

This commit is contained in:
Robin Gloster
2019-10-30 00:53:51 +01:00
committed by Jan Tojnar
parent 4db0860814
commit e5ded57aab
11 changed files with 21 additions and 24 deletions

View File

@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
'';
# do not use x87's 80-bit arithmetic, rouding errors result in very different font binaries
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isi686 [ "-msse2" "-mfpmath=sse" ];
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-msse2 -mfpmath=sse";
nativeBuildInputs = [ pkgconfig autoconf automake gnum4 libtool perl gettext ];
buildInputs = [