Merge pull request #176588 from trofi/workaround-fno-common-for-ifm

ifm: add -fcommon workaround

authored by Sandro and committed by GitHub f8b1f22f 966e791c

+5
+5
pkgs/tools/graphics/ifm/default.nix
··· 13 13 14 14 buildInputs = [ perl tk ]; # perl and wish are not run but written as shebangs. 15 15 16 + # Workaround build failure on -fno-common toolchains: 17 + # ld: libvars.a(vars-freeze-lex.o):src/libvars/vars-freeze-lex.l:23: 18 + # multiple definition of `line_number'; ifm-main.o:src/ifm-main.c:46: first defined here 19 + NIX_CFLAGS_COMPILE = "-fcommon"; 20 + 16 21 enableParallelBuilding = false; # ifm-scan.l:16:10: fatal error: ifm-parse.h: No such file or directory 17 22 18 23 meta = with lib; {