Merge pull request #173009 from trofi/workaround-fno-common-for-_9pfs
_9pfs: add -fcommon workaround
This commit is contained in:
commit
51c998bdd9
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ fuse ];
|
buildInputs = [ fuse ];
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains like upstream
|
||||||
|
# gcc-10. Otherwise build fails as:
|
||||||
|
# ld: lib/auth_rpc.o:/build/source/lib/../9pfs.h:35: multiple definition of
|
||||||
|
# `logfile'; 9pfs.o:/build/source/9pfs.h:35: first defined here
|
||||||
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue