2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 10:43:27 +00:00
nixpkgs/pkgs/applications/graphics/gqview
Sergei Trofimovich 6c60d3d38a gqview: add -fcommon workaround
Without the change build fails on -fno-common toolchains like upstream
gcc-10 as:

    $ nix build -L --impure --expr 'with import ./. {}; gqview.overrideAttrs (oa: {   NIX_CFLAGS_COMPILE = (["-fno-common"] ++ [oa.NIX_CFLAGS_COMPILE or ""]); })'
    ...
    ld: pan-view.o:/build/gqview-2.1.5/src/bar_exif.h:27:
      multiple definition of `bar_exif_key_list'; bar_exif.o:/build/gqview-2.1.5/src/bar_exif.h:27: first defined here
2022-05-09 08:20:31 +01:00
..
default.nix gqview: add -fcommon workaround 2022-05-09 08:20:31 +01:00