treewide: disable -Werror for llvm 7

Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
This commit is contained in:
Matthew Bauer
2019-04-22 22:36:35 -04:00
parent d1f988ca3c
commit 724e833ea2
10 changed files with 19 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
NIX_CFLAGS_COMPILE = "-Wno-error=c++11-narrowing";
meta = {
homepage = http://p7zip.sourceforge.net/;
description = "A port of the 7-zip archiver";

View File

@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
installFlags = "PREFIX=$(out)";
NIX_CFLAGS_COMPILE = "-Wno-error=reserved-user-defined-literal";
meta = with stdenv.lib; {
homepage = http://compression.ca/pbzip2/;
description = "A parallel implementation of bzip2 for multi-core machines";

View File

@@ -54,6 +54,8 @@ stdenv.mkDerivation rec {
checkInputs = [ which ]; # used for tests with checkFlags = [ "DEBUG=true" ];
checkTarget = "tests";
NIX_CFLAGS_COMPILE = "-Wno-error";
meta = with stdenv.lib; {
description = "Lightweight implementation of some Unix command line utilities";
homepage = https://landley.net/toybox/;

View File

@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
sed 's|LIBS += -lstdc++.6||' -i Makefile
'';
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
NIX_CFLAGS_COMPILE = [ "-fpermissive" "-Wno-error=reserved-user-defined-literal" ];
meta = with stdenv.lib; {
description = "High-speed web-based traffic analysis and flow collection tool";

View File

@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
libXt libxslt libiconv docbook_xml_dtd_412
] ++ stdenv.lib.optional stdenv.isDarwin Carbon;
NIX_CFLAGS_COMPILE = "-Wno-error";
configureFlags = [
"--enable-zlib"
"--enable-readline"