3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/freedroidrpg
Sergei Trofimovich 71b07eaac3 freedroidrpg: add upstream fix for -fno-common toolchains
Without the upstream change build fails on toolchains that default to
`-fno-common` (like clang-13 or upstream  gcc-10+):

    $ nix build --impure --expr 'with import ./.{}; freedroidrpg.override { stdenv = clang13Stdenv; }' -L
    ...
    freedroidrpg> ld: addon_crafting_ui.o:/build/freedroidrpg-0.16.1/src/./struct.h:1025:
      multiple definition of `tux_rendering'; action.o:/build/freedroidrpg-0.16.1/src/./struct.h:1025: first defined here
    ...
2022-03-13 07:59:07 +00:00
..
default.nix