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 sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g"; 10 }; 11 12 preConfigure = 13 '' 14 substituteInPlace ./configure \ ··· 25 26 meta = with lib; { 27 description = "Web server log file analysis program"; 28 - homepage = "http://www.webalizer.org"; 29 platforms = platforms.unix; 30 license = licenses.gpl2; 31 };
··· 9 sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g"; 10 }; 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 + 16 preConfigure = 17 '' 18 substituteInPlace ./configure \ ··· 29 30 meta = with lib; { 31 description = "Web server log file analysis program"; 32 + homepage = "https://webalizer.net/"; 33 platforms = platforms.unix; 34 license = licenses.gpl2; 35 };