Merge pull request #176191 from trofi/workaround-fno-common-for-eli

eli: add -fcommon workaround
This commit is contained in:
Timo Kaufmann 2022-06-04 10:54:48 +02:00 committed by GitHub
commit 12bcceeb58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=(