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:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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/;
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user