typespeed: add -fcommon workaround

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

ld: typespeed-typespeed.o:/build/typespeed-0.6.5/src/typespeed.h:69: multiple definition of
`opt'; typespeed-file.o:/build/typespeed-0.6.5/src/typespeed.h:69: first defined here

+6
+6
pkgs/games/typespeed/default.nix
··· 11 11 12 12 patches = [ ./typespeed-config-in-home.patch ]; 13 13 14 + # Workaround build failure on -fno-common toolchains like upstream 15 + # gcc-10. Otherwise build fails as: 16 + # ld: typespeed-typespeed.o:/build/typespeed-0.6.5/src/typespeed.h:69: multiple definition of 17 + # `opt'; typespeed-file.o:/build/typespeed-0.6.5/src/typespeed.h:69: first defined here 18 + NIX_CFLAGS_COMPILE = "-fcommon"; 19 + 14 20 configureFlags = [ "--datadir=\${out}/share/" ]; 15 21 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 16 22