Merge pull request #37392 from xeji/p/altermime

altermime: fix build
This commit is contained in:
Jörg Thalheim 2018-03-19 22:35:43 +00:00 committed by GitHub
commit 34624ecca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7";
};
NIX_CFLAGS_COMPILE = "-Wno-error=format";
NIX_CFLAGS_COMPILE = [ "-Wno-error=format"
"-Wno-error=format-truncation"
"-Wno-error=pointer-compare"
"-Wno-error=memset-elt-size"
];
postPatch = ''
sed -i Makefile -e "s@/usr/local@$out@"