Merge pull request #175366 from trofi/workaround-fno-common-for-transcode

transcode: add -fcommon workaround

authored by Sandro and committed by GitHub 0f8df9ee fb02d687

+6
+6
pkgs/applications/audio/transcode/default.nix
··· 19 19 20 20 enableParallelBuilding = true; 21 21 22 + # Workaround build failure on -fno-common toolchains like upstream 23 + # gcc-10. Otherwise build fails as: 24 + # ld: tcextract-extract_pcm.o:/build/transcode-1.1.7/import/extract_pcm.c:36: multiple definition of 25 + # `audio'; tcextract-extract_ac3.o:/build/transcode-1.1.7/import/extract_ac3.c:337: first defined here 26 + NIX_CFLAGS_COMPILE = "-fcommon"; 27 + 22 28 meta = with lib; { 23 29 description = "Suite of command line utilities for transcoding video and audio codecs, and for converting between different container formats"; 24 30 homepage = "http://www.transcoding.org/";