mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
fped: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: postscript.o:postscript.h:29: multiple definition of `postscript_params'; fped.o:postscript.h:29: first defined here
This commit is contained in:
parent
064a605987
commit
4c33f198e3
|
@ -14,6 +14,11 @@ stdenv.mkDerivation {
|
|||
sha256 = "0xv364a00zwxhd9kg1z9sch5y0cxnrhk546asspyb9bh58sdzfy7";
|
||||
};
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: postscript.o:postscript.h:29: multiple definition of
|
||||
# `postscript_params'; fped.o:postscript.h:29: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
# This uses '/bin/bash', '/usr/local' and 'lex' by default
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
|
|
Loading…
Reference in a new issue