diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-06-03 00:47:24 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-06-03 00:47:53 +0100 |
commit | 622faae80d7a630b3437cfedd91fb9477497bbf4 (patch) | |
tree | 130b68668f8a7c72879417afdffbe1065680b805 /pkgs/applications/video/w_scan | |
parent | 4c704d3306ffa945bd40c7765e29dfb9c75f34df (diff) |
w_scan: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: char-coding.o:/build/w_scan-20170107/si_types.h:117: multiple definition of `service_t'; countries.o:/build/w_scan-20170107/si_types.h:117: first defined here
Diffstat (limited to 'pkgs/applications/video/w_scan')
-rw-r--r-- | pkgs/applications/video/w_scan/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/video/w_scan/default.nix b/pkgs/applications/video/w_scan/default.nix index 7cbc2b0f81590..9c07eb1a6368a 100644 --- a/pkgs/applications/video/w_scan/default.nix +++ b/pkgs/applications/video/w_scan/default.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { sha256 = "1zkgnj2sfvckix360wwk1v5s43g69snm45m0drnzyv7hgf5g7q1q"; }; + # Workaround build failure on -fno-common toolchains: + # ld: char-coding.o:/build/w_scan-20170107/si_types.h:117: multiple definition of + # `service_t'; countries.o:/build/w_scan-20170107/si_types.h:117: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + meta = { description = "Small CLI utility to scan DVB and ATSC transmissions"; homepage = "http://wirbel.htpc-forum.de/w_scan/index_en.html"; |