Merge pull request #176863 from trofi/workaround-fno-common-for-klystrack

klystrack: add -fcommon workaround
main
Sandro 2 years ago committed by GitHub
commit 45f19df837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/applications/audio/klystrack/default.nix

@ -27,6 +27,12 @@ stdenv.mkDerivation rec {
})
];
# Workaround build failure on -fno-common toolchains:
# ld: libengine_gui.a(gui_menu.o):(.bss+0x0): multiple definition of
# `menu_t'; objs.release/action.o:(.bss+0x20): first defined here
# TODO: remove it for 1.7.7+ release as it was fixed upstream.
NIX_CFLAGS_COMPILE = "-fcommon";
buildFlags = [ "PREFIX=${placeholder "out"}" "CFG=release" ];
installPhase = ''

Loading…
Cancel
Save