nixpkgs/pkgs/os-specific/linux/read-edid
Sergei Trofimovich 6b75fe0638 read-edid: fix build on -fno-common toolchains
Without the change build fails on toolchains like clang-13 which
switch to -fno-common by default:

    $ nix build -L --impure --expr 'with import ./. {}; read-edid.override { stdenv = clang13Stdenv; }'
    ...
    read-edid> ld: CMakeFiles/get-edid.dir/classic.c.o:(.bss+0x0):
      multiple definition of `quiet'; CMakeFiles/get-edid.dir/get-edid.c.o:(.bss+0x0): first defined here
    read-edid> ld: CMakeFiles/get-edid.dir/i2c.c.o:(.bss+0x0):
      multiple definition of `quiet'; CMakeFiles/get-edid.dir/get-edid.c.o:(.bss+0x0): first defined here
2022-05-06 08:48:10 +01:00
..
default.nix read-edid: fix build on -fno-common toolchains 2022-05-06 08:48:10 +01:00
fno-common.patch read-edid: fix build on -fno-common toolchains 2022-05-06 08:48:10 +01:00