liquidwar5: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

ld: random.o:(.bss+0x0): multiple definition of `LW_RANDOM_ON'; game.o:(.bss+0x4): first defined here

+8 -1
+8 -1
pkgs/games/liquidwar/5.nix
··· 13 13 14 14 hardeningDisable = [ "format" ]; 15 15 16 - NIX_CFLAGS_COMPILE = [ "-lm" ]; 16 + NIX_CFLAGS_COMPILE = [ 17 + # Workaround build failure on -fno-common toolchains like upstream 18 + # gcc-10. Otherwise build fails as: 19 + # ld: random.o:(.bss+0x0): multiple definition of `LW_RANDOM_ON'; game.o:(.bss+0x4): first defined here 20 + "-fcommon" 21 + 22 + "-lm" 23 + ]; 17 24 18 25 meta = with lib; { 19 26 description = "The classic version of a quick tactics game LiquidWar";