mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #176061 from trofi/workaround-fno-common-for-webalizer
webalizer: add -fcommon workaround
This commit is contained in:
commit
77477b0c8a
1 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g";
|
||||
};
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: dns_resolv.o:(.bss+0x20): multiple definition of `system_info'; webalizer.o:(.bss+0x76e0): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
substituteInPlace ./configure \
|
||||
|
@ -25,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Web server log file analysis program";
|
||||
homepage = "http://www.webalizer.org";
|
||||
homepage = "https://webalizer.net/";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue