Merge pull request #176061 from trofi/workaround-fno-common-for-webalizer

webalizer: add -fcommon workaround

authored by Sandro and committed by GitHub 77477b0c d19d15f3

+5 -1
+5 -1
pkgs/tools/networking/webalizer/default.nix
··· 9 9 sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g"; 10 10 }; 11 11 12 + # Workaround build failure on -fno-common toolchains: 13 + # ld: dns_resolv.o:(.bss+0x20): multiple definition of `system_info'; webalizer.o:(.bss+0x76e0): first defined here 14 + NIX_CFLAGS_COMPILE = "-fcommon"; 15 + 12 16 preConfigure = 13 17 '' 14 18 substituteInPlace ./configure \ ··· 25 29 26 30 meta = with lib; { 27 31 description = "Web server log file analysis program"; 28 - homepage = "http://www.webalizer.org"; 32 + homepage = "https://webalizer.net/"; 29 33 platforms = platforms.unix; 30 34 license = licenses.gpl2; 31 35 };