Merge pull request #176020 from trofi/workaround-fno-common-for-w_scan

w_scan: add -fcommon workaround
This commit is contained in:
Sandro 2022-06-03 16:59:22 +02:00 committed by GitHub
commit 1eee52d365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";