summary refs log tree commit diff
path: root/pkgs/tools/networking/ntopng
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-02-18 14:12:43 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-02-18 14:12:43 +0100
commitbf251489024ee59903b8f2f99523e5c2e518b522 (patch)
tree1c86525236ac7884fda6a7d5379bba9950e8ae71 /pkgs/tools/networking/ntopng
parent0a52c59db96dfb1cbc813ca4e9e756de0b26f370 (diff)
downloadnixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar.gz
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar.bz2
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar.lz
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar.xz
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.tar.zst
nixlib-bf251489024ee59903b8f2f99523e5c2e518b522.zip
ntopng: fixup build with gcc7
... but the new gcc pointed out some real bug.  I suppose update
would be best: https://github.com/ntop/ntopng/releases
Diffstat (limited to 'pkgs/tools/networking/ntopng')
-rw-r--r--pkgs/tools/networking/ntopng/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/ntopng/default.nix b/pkgs/tools/networking/ntopng/default.nix
index d1a90d9d1aad..b307a8f6f131 100644
--- a/pkgs/tools/networking/ntopng/default.nix
+++ b/pkgs/tools/networking/ntopng/default.nix
@@ -53,6 +53,8 @@ stdenv.mkDerivation rec {
     sed 's|LIBS += -lstdc++.6||' -i Makefile
   '';
 
+  NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
+
   meta = with stdenv.lib; {
     description = "High-speed web-based traffic analysis and flow collection tool";
     homepage = http://www.ntop.org/products/ntop/;