Merge pull request #171916 from trofi/fix-fno-common-simh-build

simh: add -fcommon workaround
main
Anderson Torres 2 years ago committed by GitHub
commit 82155becef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/applications/emulators/simh/default.nix

@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
dontConfigure = true;
# Workaround to build against upstream gcc-10 and clang-11.
# Can be removed when next release contains
# https://github.com/simh/simh/issues/794
NIX_CFLAGS_COMPILE = [ "-fcommon" ];
makeFlags = [ "GCC=${stdenv.cc.targetPrefix}cc" "CC_STD=-std=c99" "LDFLAGS=-lm" ];
preInstall = ''

Loading…
Cancel
Save