Merge pull request #176450 from trofi/workaround-fno-common-for-reaverwps

reaverwps: add -fcommon workaround

authored by Sergei Trofimovich and committed by GitHub bc2f96b1 f89d70d5

+4
+4
pkgs/tools/networking/reaver-wps/default.nix
··· 13 nativeBuildInputs = [ makeWrapper ]; 14 buildInputs = [ libpcap sqlite ]; 15 16 17 setSourceRoot = '' 18 sourceRoot=$(echo */src)
··· 13 nativeBuildInputs = [ makeWrapper ]; 14 buildInputs = [ libpcap sqlite ]; 15 16 + # Workaround build failure on -fno-common toolchains: 17 + # ld: crypto/dh_groups.o:src/crypto/../globule.h:141: multiple definition of 18 + # `globule'; /build/ccrzO6vA.o:src/globule.h:141: first defined here 19 + NIX_CFLAGS_COMPILE = "-fcommon"; 20 21 setSourceRoot = '' 22 sourceRoot=$(echo */src)