diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-22 22:36:35 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-26 21:55:04 -0400 |
commit | 724e833ea2a9d1b16f7289e1244d0d7ff56d027b (patch) | |
tree | 7081889ff591cca1fb947c4c051b91d73b4eaf75 /pkgs/tools | |
parent | d1f988ca3c22baf0e637eb1f082a49cad2c4ea31 (diff) | |
download | nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.gz nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.bz2 nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.lz nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.xz nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.tar.zst nixpkgs-724e833ea2a9d1b16f7289e1244d0d7ff56d027b.zip |
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.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/archivers/p7zip/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/compression/pbzip2/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/misc/toybox/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/networking/ntopng/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/security/opensc/default.nix | 2 |
5 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/p7zip/default.nix b/pkgs/tools/archivers/p7zip/default.nix index 5430c2cb73e..3dac4245de4 100644 --- a/pkgs/tools/archivers/p7zip/default.nix +++ b/pkgs/tools/archivers/p7zip/default.nix @@ -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"; diff --git a/pkgs/tools/compression/pbzip2/default.nix b/pkgs/tools/compression/pbzip2/default.nix index fb3da5e48d6..c7c1b7efc94 100644 --- a/pkgs/tools/compression/pbzip2/default.nix +++ b/pkgs/tools/compression/pbzip2/default.nix @@ -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"; diff --git a/pkgs/tools/misc/toybox/default.nix b/pkgs/tools/misc/toybox/default.nix index 98fa06bccfd..1b518be63a5 100644 --- a/pkgs/tools/misc/toybox/default.nix +++ b/pkgs/tools/misc/toybox/default.nix @@ -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/; diff --git a/pkgs/tools/networking/ntopng/default.nix b/pkgs/tools/networking/ntopng/default.nix index b307a8f6f13..b1e1bfcdd65 100644 --- a/pkgs/tools/networking/ntopng/default.nix +++ b/pkgs/tools/networking/ntopng/default.nix @@ -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"; diff --git a/pkgs/tools/security/opensc/default.nix b/pkgs/tools/security/opensc/default.nix index 7d709712fc8..3144665e4ec 100644 --- a/pkgs/tools/security/opensc/default.nix +++ b/pkgs/tools/security/opensc/default.nix @@ -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" |