Merge pull request #176852 from trofi/workaround-fno-common-for-fped

fped: add -fcommon workaround
main
Sandro 2 years ago committed by GitHub
commit b2e046efae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/applications/science/electronics/fped/default.nix

@ -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…
Cancel
Save