Merge pull request #176450 from trofi/workaround-fno-common-for-reaverwps
reaverwps: add -fcommon workaround
This commit is contained in:
commit
bc2f96b1e1
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ libpcap sqlite ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: crypto/dh_groups.o:src/crypto/../globule.h:141: multiple definition of
|
||||
# `globule'; /build/ccrzO6vA.o:src/globule.h:141: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$(echo */src)
|
||||
|
Loading…
Reference in New Issue
Block a user