eli: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: cexp.o:(.bss+0x40): multiple definition of `obstck'; cccp.o:(.bss+0x0): first defined here
This commit is contained in:
parent
bd7aa1e1bf
commit
6f86eabf6d
|
@ -54,6 +54,9 @@ stdenv.mkDerivation rec {
|
|||
# skip interactive browser check
|
||||
buildFlags = [ "nobrowsers" ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: cexp.o:(.bss+0x40): multiple definition of `obstck'; cccp.o:(.bss+0x0): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preConfigure=''
|
||||
configureFlagsArray=(
|
||||
|
|
Loading…
Reference in a new issue