Merge pull request #173123 from trofi/workaround-fno-common-for-iouyap

iouyap: add -fcommon workaround
main
Sandro 2 years ago committed by GitHub
commit d4d0a0b8ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/tools/networking/iouyap/default.nix

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
buildInputs = [ bison flex ];
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: netmap.o:(.bss+0x20): multiple definition of `sizecheck'; iouyap.o:(.bss+0x20): first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
installPhase = ''
install -D -m555 iouyap $out/bin/iouyap;
'';

Loading…
Cancel
Save