gcl: add -fcommon workaround

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

ld: ./libgclp.a(user_match.o):(.bss+0x18): multiple definition of
`tf'; ./libpre_gcl.a(main.o):(.bss+0x326d90): first defined here

+4 -1
+4 -1
pkgs/development/compilers/gcl/default.nix
··· 40 40 41 41 hardeningDisable = [ "pic" "bindnow" ]; 42 42 43 - NIX_CFLAGS_COMPILE = "-fgnu89-inline"; 43 + # -fcommon: workaround build failure on -fno-common toolchains: 44 + # ld: ./libgclp.a(user_match.o):(.bss+0x18): multiple definition of 45 + # `tf'; ./libpre_gcl.a(main.o):(.bss+0x326d90): first defined here 46 + NIX_CFLAGS_COMPILE = "-fgnu89-inline -fcommon"; 44 47 45 48 meta = with lib; { 46 49 description = "GNU Common Lisp compiler working via GCC";